lemming / angular-flip

MIT License
15 stars 8 forks source link

External Flipping #6

Open kareemaismail opened 8 years ago

kareemaismail commented 8 years ago

Is there a way using the current implementation to flip externally? What I mean by this is other than clicking on the element. My intent is to programmatically trigger the flip animation.

lemming commented 8 years ago

Sure! Directive watches expression passed to the "flipped" attribute of "flip" directive. See the first example at https://github.com/lemming/angular-flip/blob/master/index.html.