logo

/repo|v1.4.9

Class

new ModeSwitch($rootElement, initialType)modeSwitch.jsline 20

Class ModeSwitch
UI Control for switch between Markdown and WYSIWYG

EXTENDS
  • UIController
PARAMETERS
NameTypeDescription

$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

Resizable