ts1 / flipbook-vue

3D page flip effect for Vue.js
https://ts1.github.io/flipbook-vue/
620 stars 159 forks source link

1 Polygon #41

Open mitchiru opened 3 years ago

mitchiru commented 3 years ago

Super nice work I must say!!

But removing the curve effect with polygon 1 doesn't work. First of all <flipbook :nPolygons="3" has no effect, I can see that in vue debugger, its still 10. When I change the default to 1, the effect is gone but while turning the page, the page is strangely tilted.

I'd suggest to make a property with amount of polygones for each slide. Because most books for instance have a hard cover and back.

mitchiru commented 3 years ago

Ok , I fixed my problem with the attribute. vue attributes have no camel cases :-D It's :n-polygons="3"

mitchiru commented 3 years ago

Screenshot 2021-03-12 at 18 48 27

mitchiru commented 3 years ago

Your code is going to hang in a museum If I get this right.

ts1 commented 3 years ago

Should I change the props in README to kebab case?

mitchiru commented 3 years ago

Probably, people won't use the class props anyways.

Here is what i am doing - still a bit rough but it works. http://beuys.v22017084135651949.luckysrv.de/