Hi~ maybe you can check the official example here: https://groups.google.com/forum/#!topic/angular/wsmPbXFMxVU By defining js calls for the events, you could accomplish it without creating new css think .
On Sunday, February 9, 2014 4:01:41 AM UTC+9, Pawel Kozlowski wrote: > > Hi! > > I'm toying with different approaches to using $animate with existing > CSS frameworks (the objective is to use it with Bootstrap CSS). Here > is a simple plunker illustrating how I would go about things _without_ > using $animate: http://plnkr.co/edit/RlIBcBEQUfhfCBOVb5lv?p=preview > > This approach has 2 advantages: > - all the CSS classes are centralized in a template > - I can use existing CSS classes from Bootstrap without re-defining > them to fit into ngAnimate conventions > > Now, I'm not sure what is the best way of turning the above code to > take advantage of $animate. What I would like to avoid is: > - need to re-define / add Bootstrap classes > - hard-code CSS classes in JavaScript code > > It might well be the case that what I'm trying to do here is not the > best fit for $animate but well, I guess this is a generic problem of > using $animate with existing CSS frameworks. > > Any input would be highly appreciated! > > Cheers, > Pawel > > -- > AngularJS book: > http://www.packtpub.com/angularjs-web-application-development/book > Looking for bootstrap-based widget library for AngularJS? > http://angular-ui.github.com/bootstrap/ > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
