| 1 | /** |
| 2 | * Container for a vertical series of PageLayouts, similar to OO.ui.HorizontalLayout |
| 3 | */ |
| 4 | ve.ui.MWVerticalLayout = function VeUiMwVerticalLayout() { |
| 5 | // Parent constructor |
| 6 | ve.ui.MWVerticalLayout.super.call( this, { scrollable: true } ); |
| 7 | |
| 8 | // Mixin constructors |
| 9 | OO.ui.mixin.GroupElement.call( this, { $group: this.$element } ); |
| 10 | |
| 11 | // Initialization |
| 12 | this.$element.addClass( 've-ui-mwVerticalLayout' ); |
| 13 | }; |
| 14 | |
| 15 | OO.inheritClass( ve.ui.MWVerticalLayout, OO.ui.PanelLayout ); |
| 16 | OO.mixinClass( ve.ui.MWVerticalLayout, OO.ui.mixin.GroupElement ); |