/* 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', function (Y, NAME) { /** * A Button Widget * * @module button * @since 3.5.0 */ var ButtonCore = Y.ButtonCore, CLASS_NAMES = ButtonCore.CLASS_NAMES, ARIA_STATES = ButtonCore.ARIA_STATES, ARIA_ROLES = ButtonCore.ARIA_ROLES; /** * Creates a Button * * @class Button * @extends Widget * @uses ButtonCore * @param config {Object} Configuration object * @constructor */ function Button() { Button.superclass.constructor.apply(this, arguments); } /* Button extends Widget */ Y.extend(Button, Y.Widget, { // Y.Button prototype properties /** * Bounding box template that will contain the Button's DOM subtree. * * @property BOUNDING_TEMPLATE * @type {String} * @default