angularjs - Fade In / FadeOut angular js -


I'm very new to AngularJS and would like to know how to do this:

 < Code $ (". -change-agency-clicker"). ("Click", function (e) {e.preventDefault (); $ (".form"). FadeOut (function () {$ (". Agency-change-form"). FadeIn (); $ ( "# AgentForm") Show ();}}}}};   

So when a user clicks on a button, it is fadeout in a panel and fade in the second panel.

Just follow these steps:

  1. .change-agency-clicker is clicked (), toggle the value of one
  2. if this variable is true , then hide () element .form .
  3. If this variable true , show elements . and #agentForm .
  4. Animate all things with CSS infections (), and forget that transition delay if necessary.

Thoughts, of course, "declarative" and "mandatory"!


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -