mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
31 lines
661 B
JavaScript
31 lines
661 B
JavaScript
|
/*!
|
||
|
* VisualEditor UserInterface OutlineWidget class.
|
||
|
*
|
||
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
||
|
* @license The MIT License (MIT); see LICENSE.txt
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Create an ve.ui.OutlineWidget object.
|
||
|
*
|
||
|
* @class
|
||
|
* @extends ve.ui.SelectWidget
|
||
|
*
|
||
|
* @constructor
|
||
|
* @param {Object} [config] Config options
|
||
|
*/
|
||
|
ve.ui.OutlineWidget = function VeUiOutlineWidget( config ) {
|
||
|
// Config intialization
|
||
|
config = config || {};
|
||
|
|
||
|
// Parent constructor
|
||
|
ve.ui.SelectWidget.call( this, config );
|
||
|
|
||
|
// Initialization
|
||
|
this.$.addClass( 've-ui-outlineWidget' );
|
||
|
};
|
||
|
|
||
|
/* Inheritance */
|
||
|
|
||
|
ve.inheritClass( ve.ui.OutlineWidget, ve.ui.SelectWidget );
|