AngularJS animattion using ng-class – InfoHeap

  • Posted in Tutorials | Tagged AngularJS , Javascript , Tutorials
  • The animation is achieved using css transition property on background-color.
  • highlight.on { background-color:lightblue;}
    Highlight this box (with animation)

    (onOff={{onOff}})

    var module = angular.module(‘myApp’, [“ngAnimate”]); module.controller(‘MyCtrl’, function($scope) {});

Read the full article, click here.


@infoheap2: “#AngularJS animattion using ng-class – InfoHeap #javascript”


This example uses ng-class to toggle presence on class on. The animation is achieved using css transition property on background-color.


AngularJS animattion using ng-class – InfoHeap

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.