/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('button-core', function (Y, NAME) { /** * Provides an interface for working with button-like DOM nodes * * @module button-core * @since 3.5.0 */ var getClassName = Y.ClassNameManager.getClassName, AttributeCore = Y.AttributeCore; /** * Creates a button * * @class ButtonCore * @uses AttributeCore * @param config {Object} Configuration object * @constructor */ function ButtonCore(config) { this.initializer(config); } ButtonCore.prototype = { /** * * @property TEMPLATE * @type {String} * @default