mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 10:59:56 +00:00
988cda65dd
Introduces new widgets forming the backbone of the experimental template dialog sidebar. FIXME: `text-overflow: ellipsis` is not working yet, the container styles need adjustment. Bug: T274543 Change-Id: Ie81b84be288553343017c4aaf8691c4e266995f5
29 lines
801 B
JavaScript
29 lines
801 B
JavaScript
/*!
|
|
* VisualEditor user interface MWTemplateOutlineCheckboxListWidget class.
|
|
*
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/**
|
|
* Container for multiple template parameter items
|
|
*
|
|
* Application-specific part of the implementation.
|
|
*
|
|
* @class
|
|
* @extends OO.ui.Widget
|
|
*
|
|
* @constructor
|
|
* @param {Object} [config] Configuration options
|
|
* @cfg {ve.ui.MWTemplateOutlineParameterCheckboxWidget[]} [items] An array of options to add to the multiselect.
|
|
*/
|
|
ve.ui.MWTemplateOutlineCheckboxListWidget = function VeUiMWTemplateOutlineCheckboxListWidget( config ) {
|
|
// Parent constructor
|
|
ve.ui.MWTemplateOutlineCheckboxListWidget.super.call( this, config );
|
|
|
|
// TODO: Wire events
|
|
};
|
|
|
|
/* Inheritance */
|
|
|
|
OO.inheritClass( ve.ui.MWTemplateOutlineCheckboxListWidget, OO.ui.FieldsetLayout );
|