new ModeSwitch($rootElement, initialType)modeSwitch.jsline 20
Class ModeSwitch
UI Control for switch between Markdown and WYSIWYGEXTENDS
- UIController
PARAMETERS
Name Type Description $rootElement
jQuery
root jquery element
initialType
string
initial type of editor
Instance Methods
hide()modeSwitch.jsline 82
hide switch tab bar
isShown()modeSwitch.jsline 68
is the switch tab bar shown
RETURNS:
{Boolean
} - showing status
show()modeSwitch.jsline 75
show switch tab bar