Debian Codegraph @

extensions/VisualEditor/lib/ve/src/ui/ve.ui.Overlay.js

raw symbols SCIP
1 /*!
2 * VisualEditor UserInterface Overlay class.
3 *
4 * @copyright See AUTHORS.txt
5 */
6
7 /**
8 * Container for content that should appear in front of everything else.
9 *
10 * @class
11 * @abstract
12 * @extends OO.ui.Element
13 *
14 * @constructor
15 * @param {Object} [config] Configuration options
16 */
17 ve.ui.Overlay = function VeUiOverlay() {
18 // Parent constructor
19 ve.ui.Overlay.super.apply( this, arguments );
20
21 // Initialization
22 this.$element.addClass( 've-ui-overlay' );
23 };
24
25 /* Inheritance */
26
27 OO.inheritClass( ve.ui.Overlay, OO.ui.Element );