Open mkbrv opened 9 years ago
@mikibrv Do you know a good port or wrapper of jmpress for angular? I started an angular jmpress wrapper for personal purposes because I didn't find any: https://github.com/web-stories/angular-jmpress
@FagnerMartinsBrack
I only wrapped angular in a directive: https://github.com/mikibrv/angular-with-grunt/blob/master/src/app/common/jmpress/cube.directive.js
If I would like to dynamically add/remove a slide I can just set a watch for a specific variable and call a method storing the reference to the jmpress object.
Considering the cube example: http://jmpressjs.github.io/jmpress.js/examples/cube/#/front
Using AngularJS routing (or simple ajax to bring different views), rebuilding a slider like the one presented above will not work since I cannot overwrite an event.