Namespace: tabOverride

"jQuery.fn". tabOverride

The tabOverride method namespace
Source:

Namespaces

utils

Methods

<static> autoIndent(enable) → {boolean|Function}

Gets or sets the auto indent setting. True if each line should be automatically indented (default = false).
Parameters:
Name Type Argument Description
enable boolean <optional>
whether auto indent should be enabled
Source:
Returns:
whether auto indent is enabled or the tabOverride function
Type
boolean | Function

<static> tabKey(keyCode, modifierKeyNames) → {string|Function}

Gets or sets the tab key combination.
Parameters:
Name Type Argument Description
keyCode number the key code of the key to use for tab
modifierKeyNames string[] <optional>
the modifier key names - valid names are 'alt', 'ctrl', 'meta', and 'shift'
Source:
Returns:
the current tab key combination or the tabOverride function
Type
string | Function

<static> tabSize(size) → {number|Function}

Gets or sets the tab size for all elements that have Tab Override enabled. 0 represents the tab character.
Parameters:
Name Type Argument Description
size number <optional>
the tab size
Source:
Returns:
the tab size or the tabOverride function
Type
number | Function

<static> untabKey(keyCode, modifierKeyNames) → {string|Function}

Gets or sets the untab key combination.
Parameters:
Name Type Argument Description
keyCode number the key code of the key to use for untab
modifierKeyNames string[] <optional>
the modifier key names - valid names are 'alt', 'ctrl', 'meta', and 'shift'
Source:
Returns:
the current untab key combination or the tabOverride function
Type
string | Function