joshdmiller / ng-curtain

AngularJS directives that create multiple fixed panels that unroll with an amusing effect. Port of the now defunct victa/curtain.js.
http://joshdmiller.github.io/ng-curtain
MIT License
85 stars 8 forks source link

Feature Completeness from curtain.js #1

Open joshdmiller opened 11 years ago

joshdmiller commented 11 years ago

Against the no longer maintained curtain.js, there are several outstanding features:

enricodeleo commented 10 years ago

what about the possibility to run it programmatically? The former curtain.js, as well as most jQuery plugins required a call to .curtain(). I really love the angular-way without useless call but in my case I am trying to populate curtains with sections pulled from a json via ngRepeat. It creates sections and use right markup from ngCurtain but there is an error at some point. I think ngCurtain should compile the html after the $last ngRepeated element but can't figure out how to do it without hacking the module :(