Receive value from a logic component
Receive value from a number component
The value of the selected records key column
Returns the data of a specific record
The key value of the wanted record
The record (key-value-pair) or undefined if no record with the given key was found
Returns the data of all records
All records as key-value-pairs or undefined if the cmp doesn't exist or is no record cmp
Returns the value of an record cmp in form of key-value-pairs instead of an plain array without column names like
getCmpValue
Key-value-pairs where key = column name, value = column value.
Undefined if the given cmp is not found or no record cmp.
Array containing the column names of the record
Receive value from a text component
Called whenever the value of at least 1 component has changed
Only call the listener if one of the given cmps have changed
With this function a listener can be assigned which is executed whenever the data of a record component changes
Name of record component for which the listener should be assigned
Called whenever the records of the given record cmp has changed
True:
The listener is immediately called with the current records of the record cmp
at the time, the listener is added
False:
The listener will be called for the first time when the records of the cmp
actually change
With this function a listener can be assigned which is executed whenever the selected key of a record component changes
Name of record component for which the listener should be assigned
Called whenever the selected key of the given record component has changed
True:
The listener is immediately called with the current key and value of the cmp at the
time, the listener is added
False:
The listener will be called for the first time when the key of the cmp
actually changes
A predicate function which is given the new cmp key and value.
The function can decide on whether the listener is called or not by returning true or false.
Called whenever the value of the given cmp has changed
True:
The listener is immediately called with the current value of the cmp at the
time, the listener is added
False:
The listener will be called for the first time when the value of the cmp
actually changes
A predicate function which is given the new cmp value.
The function can decide on whether the listener is called or not by returning true or false.
Register a whole 'interface suite' which is generated from a typings-file (*.hive.d.ts) If no options are given, the Interface-Name must match exactly with the Component-Name
Additional mappings (options.mappings) are registered as given without any modification, only the interface must be part of the same suite
Default object from auto-generated file in ./runtime-typings/
Optional properties which allow fine tuning of the internal mapping if component and interface names aren't matching exactly
Sends the ChangeConfigurationValue request to the server
Defers the actual request after the current execution context.
All values from subsequent calls to setCmpInput
within the same execution context will be sent as
1 batch request if defer = true
.
Sends the ChangeConfigurationValue request to the server
Defers the actual request after the current execution context.
All values from subsequent calls to setCmpInputs
within the same execution context will be sent as
1 batch request if defer = true
.
Sends the ChangeConfigurationValue request to the server which sets the input for the "Selected key" property for the given component
Defers the actual request after the current execution context.
All values from subsequent calls to setCmpSelectedKey
within the same execution context will be
sent as 1 batch request if defer = true
.
Signalizes that the value of the dedicated component has been changed.
This function is typically used with an await
instruction => await waitCmpValueChanged(cmpName);
.
Keep in mind that there is no guarantee that this function ever resolves.
Consider creating your own error handling (eg: abort after timeout) around this function.
Generated using TypeDoc
Generic function for receiving the value of a component.
Should only be used if the component type is not one of the basic types (text, number, logic).
Use CmpUtils.getTextCmpValue, CmpUtils.getNumberCmpValue or CmpUtils.getLogicCmpValue in this case.