The Gallery is deprecated. No new Gallery components may be submitted, and modifying existing components is disabled. For more information please read the Gallery Deprecation blog post. This is a static snapshot of the Gallery for archive purposes.
See 4 more by this user. Created: 09/20/10
Last CDN Push: 09/22/10
Build Tag: gallery-2010.09.22-20-15
Project: YUI 3
License: YUI BSD
YUI Version: 3.2.0
Free for use.
Use this when you need to animate an element's text-shadow. It plugs into the existing animation system so it works seamlessly, simply provide a "to" or "from" value for "textShadow".
Warning, the parser isn't very flexible & only understands pixel dimensions. Sorry!
<script src="http://yui.yahooapis.com/3.2.0/build/yui/yui-min.js"></script>
YUI({
//Last Gallery Build of this module
gallery: 'gallery-2010.09.22-20-15'
}).use('gallery-textshadow-anim', function(Y) {
new Y.Anim({
node : "h1",
to : { textShadow : "#F00 0 0 60px" },
from : { textShadow : "#F00 0 0 0" },
iterations: 'infinite',
direction: 'alternate'
}).run();
});
No forum posts for this module.
All code on this site is licensed under the BSD License unless stated otherwise.