Type Alias: LogicHandler<T>
LogicHandler<
T> =object
Defined in: src/sdk/data/CompositeLogicXMLHost.ts:6
A type that pairs a logic element with its callback handler.
Type Parameters
| Type Parameter |
|---|
T |
Properties
handler()
handler: (
data) =>void
Defined in: src/sdk/data/CompositeLogicXMLHost.ts:10
A handler to call back to when there's a value change.
Parameters
| Parameter | Type |
|---|---|
data | T |
Returns
void
logic
logic:
CompositeLogicXMLElement
Defined in: src/sdk/data/CompositeLogicXMLHost.ts:8
A logic element instance to evaluate.
precision?
optionalprecision:number
Defined in: src/sdk/data/CompositeLogicXMLHost.ts:12
A precision to use for numeric values.
smoothFactor?
optionalsmoothFactor:number
Defined in: src/sdk/data/CompositeLogicXMLHost.ts:14
A linear smoothing factor for value changes.