button-plugin.js revision acbf78fbb0e5ea3c5353314fcbaa6b7e3b82ad7c
/**
* A Button Plugin
*
* @module button-plugin
* @since 3.5.0
*/
/**
* @class ButtonPlugin
* @param config {Object} Configuration object
* @constructor
*/
function ButtonPlugin(config) {
}
/**
* @method _afterNodeGet
* @param name {string}
* @private
*/
_afterNodeGet: function (name) {
if (fn) {
}
},
/**
* @method _afterNodeSet
* @param name {String}
* @param val {String}
* @private
*/
if (fn) {
}
},
/**
* @method _initNode
* @param config {Object}
* @private
*/
},
/**
* @method destroy
* @private
*/
destroy: function(){
// Nothing to do, but things are happier with it here
}
}, {
/**
* Attribute configuration.
*
* @property ATTRS
* @type {Object}
* @private
* @static
*/
/**
* Name of this component.
*
* @property NAME
* @type String
* @static
*/
NAME: 'buttonPlugin',
/**
* Namespace of this component.
*
* @property NS
* @type String
* @static
*/
NS: 'button'
});
/**
* @method createNode
* @description A factory that plugs a Y.Node instance with Y.Plugin.Button
* @param node {Object}
* @param config {Object}
* @returns {Object} A plugged Y.Node instance
* @public
*/
var template;
}
}
};