- Source:
Type Definitions
Clone() → {Help4.jscore.ControlBase}
- Source:
Returns:
Embedded
definition of all data functions
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
toObject |
Help4.jscore.DataFunctions.ToObject | exports class data to an object |
equals |
Help4.jscore.DataFunctions.Equals | compares class data with another instance |
get |
Help4.jscore.DataFunctions.Get | get certain class data |
set |
Help4.jscore.DataFunctions.Set | set certain class data |
clone |
Help4.jscore.DataFunctions.Clone | clone instance with its data |
getKeys |
Help4.jscore.DataFunctions.GetKeys | deliver all data keys |
getConfig |
Help4.jscore.DataFunctions.GetConfig | deliver a certain parameter configuration |
forEach |
Help4.jscore.DataFunctions.ForEach | execute a function on every data item |
every |
Help4.jscore.DataFunctions.Every | execute a function on every data item |
merge |
Help4.jscore.DataFunctions.Merge | merge with another instance and deliver the merged result |
getTexts |
Help4.jscore.DataFunctions.GetTexts | get all texts |
onChange |
Help4.EmbeddedEvent | listener for data change events |
- Source:
Equals(instance) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
instance |
Help4.jscore.ControlBase | the class instance to do the comparison with |
- Source:
Returns:
- Type
- boolean
Every(executor) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
executor |
function | function to execute on every data item |
- Source:
Returns:
- Type
- boolean
ForEach(executor)
Parameters:
Name | Type | Description |
---|---|---|
executor |
function | function to execute on every data item |
- Source:
Get(keys) → {Object}
WARNING: This function does NOT deliver by-value but by-reference!
Parameters:
Name | Type | Description |
---|---|---|
keys |
Array.<string> | keys to select the data output |
- Source:
Returns:
- Type
- Object
GetConfig(name) → {Object|null}
Parameters:
Name | Type | Description |
---|---|---|
name |
string | name of the config param |
- Source:
Returns:
- Type
- Object | null
GetKeys() → {Array.<string>}
- Source:
Returns:
- Type
- Array.<string>
GetTexts() → {Object}
- Source:
Returns:
- Type
- Object
Merge(instance, mergeFn) → {Help4.jscore.ControlBase}
Parameters:
Name | Type | Description |
---|---|---|
instance |
Help4.jscore.ControlBase | the to be merged instance |
mergeFn |
function | the merge function |
- Source:
Returns:
Set(json, paramsopt) → {Help4.jscore.ControlBase}
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
json |
Object | |||||||||||||
params |
Object |
<optional> |
{} |
Properties
|
- Source:
Returns:
ToObject() → {Object}
- Source:
Returns:
- Type
- Object