Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gforti/tailor
A JavaScript CSS Animator
https://github.com/gforti/tailor
Last synced: about 1 month ago
JSON representation
A JavaScript CSS Animator
- Host: GitHub
- URL: https://github.com/gforti/tailor
- Owner: gforti
- Created: 2013-11-12T22:44:08.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-12T23:21:02.000Z (about 11 years ago)
- Last Synced: 2024-05-28T16:18:32.898Z (7 months ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Tailor
======A JavaScript CSS Animator
This is a small framework that can be used to animate DOM objects with CSS properties.
Demo
--
http://gforti.github.io/Tailor
public funtion Tailor.animate(@id, @json [,@callback])
--
params
- @id - ID of DOM object in HTML
- @json - JSON object with CSS properties and values to animate
- [@callback] - Callback function to excute when animation is complete.e.g. :
Tailor.animate("id",{'opacity' : "100"});
public function Tailor.css(@id, @json)
--
params
- @id - ID of DOM object in HTML
- @json - JSON object with CSS properties and values to applye.g. :
Tailor.css("id",{'color' : "#000"});