mediawiki-extensions-Visual.../modules/oojs-ui/toolgroups/OO.ui.ListToolGroup.js

34 lines
776 B
JavaScript
Raw Normal View History

/*!
* ObjectOriented UserInterface ListToolGroup class.
*
* @copyright 2011-2013 OOJS Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* Drop down list layout of tools as labeled icon buttons.
*
* @class
* @abstract
* @extends OO.ui.PopupToolGroup
*
* @constructor
* @param {OO.ui.Toolbar} toolbar
* @param {Object} [config] Configuration options
*/
OO.ui.ListToolGroup = function OoUiListToolGroup( toolbar, config ) {
// Parent constructor
OO.ui.PopupToolGroup.call( this, toolbar, config );
// Initialization
this.$.addClass( 'oo-ui-listToolGroup' );
};
/* Inheritance */
OO.inheritClass( OO.ui.ListToolGroup, OO.ui.PopupToolGroup );
/* Static Properties */
OO.ui.ListToolGroup.static.accelTooltips = true;