5 * @extends OO.ui.Widget
6 * @mixins OO.ui.mixin.GroupWidget
7 * @mixins OO.ui.mixin.LabelElement
10 * @param {string} name Group name
11 * @param {Object} config Configuration object
13 mw.rcfilters.ui.FilterGroupWidget = function MwRcfiltersUiFilterGroupWidget( name, config ) {
14 config = config || {};
17 mw.rcfilters.ui.FilterGroupWidget.parent.call( this, config );
19 OO.ui.mixin.GroupWidget.call( this, config );
20 OO.ui.mixin.LabelElement.call( this, $.extend( {}, config, {
22 .addClass( 'mw-rcfilters-ui-filterGroupWidget-title' )
28 .addClass( 'mw-rcfilters-ui-filterGroupWidget' )
32 .addClass( 'mw-rcfilters-ui-filterGroupWidget-group' )
38 OO.inheritClass( mw.rcfilters.ui.FilterGroupWidget, OO.ui.Widget );
39 OO.mixinClass( mw.rcfilters.ui.FilterGroupWidget, OO.ui.mixin.GroupWidget );
40 OO.mixinClass( mw.rcfilters.ui.FilterGroupWidget, OO.ui.mixin.LabelElement );
45 * @return {string} Group name
47 mw.rcfilters.ui.FilterGroupWidget.prototype.getName = function () {
51 }( mediaWiki, jQuery ) );