mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-03 02:16:51 +00:00
34 lines
774 B
JavaScript
34 lines
774 B
JavaScript
|
/*!
|
||
|
* 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.showTrigger = true;
|