https://github.com/mnussbaum/angular-delayed-bind
Data binding with a time delay
https://github.com/mnussbaum/angular-delayed-bind
Last synced: 4 months ago
JSON representation
Data binding with a time delay
- Host: GitHub
- URL: https://github.com/mnussbaum/angular-delayed-bind
- Owner: mnussbaum
- License: mit
- Created: 2014-03-04T03:43:06.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-08T00:09:33.000Z (over 12 years ago)
- Last Synced: 2026-01-23T22:34:11.269Z (5 months ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A directive to delay the update of bound variable. E.g. update a variable
after an animation completes.
Usage:
`
`
The contents of the div will be set to the result of evaluating `myBoundVar`
in the current scope. When `myBoundVar` changes the contents of the div will
change after a short delay.
You can also specify the length of the time delay:
``
The delay value is in milliseconds, and will also be evaluated in the current
scope. If you don't specify the delay it defaults to 1000 milliseconds.