Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-animate-change

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-animate-change

Animate an element when a value changes

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
122
decreased by-17.01%
Maintainers
1
Weekly downloads
 
Created
Source

angular-animate-change Build Status

Angular directive for applying an animation class to an element whenever a value changes. Useful for applying attention-calling animation like flashes or shakes.

Installing

# npm
$ npm install angular-animate-change
# bower
$ bower install angular-animate-change

Setup

// node module exports the string 'animate-change' for convenience
angular.module('myApp', [
  require('angular-animate-change')
]);
// otherwise, include the code first then the module name
angular.module('myApp', [
  'angular-animate-change'
]);

API

animateChange (directive)
<span animate-change="value" change-class="flash"></span>

When $scope.value changes, the class 'flash' will be added. Animation classes will applied during the transition.

Keywords

FAQs

Package last updated on 19 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc