mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-15 11:59:11 +00:00
25 lines
796 B
JavaScript
25 lines
796 B
JavaScript
|
( function ( mw, $ ) {
|
||
|
/**
|
||
|
* Placeholder notification option widget for echo popup.
|
||
|
*
|
||
|
* @class
|
||
|
* @extends OO.ui.OptionWidget
|
||
|
*
|
||
|
* @constructor
|
||
|
* @param {Object} [config] Configuration object
|
||
|
*/
|
||
|
mw.echo.ui.PlaceholderOptionWidget = function MwEchoUiPlaceholderOptionWidget( config ) {
|
||
|
// Parent constructor
|
||
|
mw.echo.ui.PlaceholderOptionWidget.parent.call( this, $.extend( { data: null }, config ) );
|
||
|
|
||
|
this.$element.addClass( 'mw-echo-ui-notificationsWidget-loadingOption' );
|
||
|
};
|
||
|
|
||
|
OO.inheritClass( mw.echo.ui.PlaceholderOptionWidget, OO.ui.OptionWidget );
|
||
|
|
||
|
mw.echo.ui.PlaceholderOptionWidget.static.selectable = false;
|
||
|
mw.echo.ui.PlaceholderOptionWidget.static.highlightable = false;
|
||
|
mw.echo.ui.PlaceholderOptionWidget.static.pressable = false;
|
||
|
|
||
|
} )( mediaWiki, jQuery );
|