mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-03 10:26:37 +00:00
483528affe
Gets rid of some unused behaviors that we've already disconnected. Brings the remaining styling into VE files. Bug: T312524 Change-Id: Ie94472019ba41124831621c45713861297219594
17 lines
538 B
JavaScript
17 lines
538 B
JavaScript
/**
|
|
* Container for a vertical series of PageLayouts, similar to OO.ui.HorizontalLayout
|
|
*/
|
|
ve.ui.MWVerticalLayout = function VeUiMwVerticalLayout() {
|
|
// Parent constructor
|
|
ve.ui.MWVerticalLayout.super.call( this, { scrollable: true } );
|
|
|
|
// Mixin constructors
|
|
OO.ui.mixin.GroupElement.call( this, { $group: this.$element } );
|
|
|
|
// Initialization
|
|
this.$element.addClass( 've-ui-mwVerticalLayout' );
|
|
};
|
|
|
|
OO.inheritClass( ve.ui.MWVerticalLayout, OO.ui.PanelLayout );
|
|
OO.mixinClass( ve.ui.MWVerticalLayout, OO.ui.mixin.GroupElement );
|