Constructor
new Store()
- Source:
Methods
adds a control to the control2 store
Parameters:
- Source:
Returns:
-
Type
-
Help4.control2.Store
empties the control2 store and destroys all currently contained controls
- Source:
Returns:
-
Type
-
Help4.control2.Store
find a control based on automatic DOM id and control id mapping
Parameters:
Name |
Type |
Description |
elem |
HTMLElement
|
|
- Source:
Returns:
-
Type
-
Help4.control2.Control
gets a control or all of them
Parameters:
Name |
Type |
Attributes |
Description |
controlId |
string
|
<optional>
|
|
- Source:
Returns:
-
Type
-
Help4.control2.Control
|
Object
|
null
(static) getTexts(onlyVisibleopt) → {Object|null}
Parameters:
Name |
Type |
Attributes |
Default |
Description |
onlyVisible |
boolean
|
<optional>
|
false
|
|
- Source:
Returns:
-
Type
-
Object
|
null
(static) getTopLevelControls(onlyVisibleopt) → {Array.<Help4.control2.Control>}
top level controls are not hosted by another control
Parameters:
Name |
Type |
Attributes |
Default |
Description |
onlyVisible |
boolean
|
<optional>
|
false
|
|
- Source:
Returns:
-
Type
-
Array.<Help4.control2.Control>
removes a control from the control2 store
Parameters:
- Source:
Returns:
-
Type
-
Help4.control2.Store
Parameters:
Name |
Type |
Description |
textMap |
Object
|
|
- Source:
Returns:
-
Type
-
Help4.control2.Store