Version 3.17.2
Show:

File: anim/js/anim-node-plugin.js

  1. /**
  2. * Binds an Anim instance to a Node instance
  3. * @module anim
  4. * @class Plugin.NodeFX
  5. * @extends Anim
  6. * @submodule anim-node-plugin
  7. */
  8.  
  9. var NodeFX = function(config) {
  10. config = (config) ? Y.merge(config) : {};
  11. config.node = config.host;
  12. NodeFX.superclass.constructor.apply(this, arguments);
  13. };
  14.  
  15. NodeFX.NAME = "nodefx";
  16. NodeFX.NS = "fx";
  17.  
  18. Y.extend(NodeFX, Y.Anim);
  19.  
  20. Y.namespace('Plugin');
  21. Y.Plugin.NodeFX = NodeFX;
  22.