Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 apply

e.g. :
Tailor.css("id",{'color' : "#000"});