Methods for displaying and hiding form help.
- Source:
Methods
(static) .init(contextopt, selectoropt)
Initialise toggle_help.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
context |
Node |
<optional> |
document | DOM element we're limiting selection to |
selector |
string |
<optional> |
'[data-toggle-help]' | CSS selector |
- Source:
(static) .toggleHelp(descriptionId)
Toggles help text.
Parameters:
Name | Type | Description |
---|---|---|
descriptionId |
string | the description id |
- Source: