Animate an text element
textyle( element, color = "coral", easing = "easeInCubic", transition = 1, duration = 400, delay = 100, class = "ex2", ... )
| element | An element. |
|---|---|
| color | string. Color of the callback |
| easing | string. An effect from jquery-easing. |
| transition | integrer. Transition in seconds |
| duration | integrer. Duration |
| delay | integrer. Delay |
| class | string. Class of the effect |
| ... | Additional element |
#> <script>$(document).ready(function(){ #> $('.ex2').textyle({"duration":400,"delay":100,"easing":"easeInCubic","callback":function(){$(this).css({color : 'coral', transition : '1s'});}}); #> });</script> #> <h1 class="ex2">TITLE</h1>