Extends OO.ui.PopupWidget Constructor new mw.libs.ve.SwitchPopupWidget(mode, [config]) # HierarchyOO.ui.PopupWidget mw.libs.ve.SwitchPopupWidget Parameters: Name Type Attributes Description mode string Current edit mode config Object optional Configuration options Source: ve-mw/preinit/ve.init.MWVESwitchPopupWidget.js, line 17