All files / src/ui ve.ui.Overlay.js

100% Statements 4/4
100% Branches 0/0
100% Functions 1/1
100% Lines 4/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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