akella / fake3d

515 stars 106 forks source link

Function to reinit the 3d effect #16

Open PubliAlex opened 3 years ago

PubliAlex commented 3 years ago

Hello,

I'm trying to implement this effect on a barba.js website.

For those that don't know what is barba.js, it allow to navigate throught page without any reload, like a SPA.

As there is no page reload, the effect don't initialize properly. Barba.js give some events when the loading is finished to init all scripts, but it seems that this demo don't have any function that would allow to reinit the 3D effect when you want with a simple call.

Thank you

Alex

PubliAlex commented 3 years ago

bump