Constructors
Properties
Methods
clickButton
- clickButton(config, options?): Promise<void>
Parameters
- config: UiObjectConfig<any, string, any>
Optional
options: {
args: any[];
}
Returns Promise<void>
dispatchOnChange
- dispatchOnChange<T>(config, props): Promise<void>
Parameters
- config: UiObjectConfig<T, string, any>
- props: {
config?: UiObjectConfig<any, string, any>;
configPath?: UiObjectConfig<any, string, any>[];
last?: boolean;
lastValue?: any;
value?: any;
}Optional
config?: UiObjectConfig<any, string, any>
Optional
configPath?: UiObjectConfig<any, string, any>[]
Optional
last?: boolean
Optional
lastValue?: any
Optional
value?: any
Returns Promise<void>
dispatchOnChangeSync
- dispatchOnChangeSync(config, props, ...args): void
Parameters
- config: UiObjectConfig<any, string, any>
- props: {
config?: UiObjectConfig<any, string, any>;
configPath?: UiObjectConfig<any, string, any>[];
last?: boolean;
lastValue?: any;
value?: any;
}Optional
config?: UiObjectConfig<any, string, any>
Optional
configPath?: UiObjectConfig<any, string, any>[]
Optional
last?: boolean
Optional
lastValue?: any
Optional
value?: any
Rest
...args: any[]
Returns void
getBinding
- getBinding(config): [any, string | number]
Returns [any, string | number]
getLabel
- getLabel(config): string
Returns string
getValue
- getValue<T>(config): undefined | T
Returns undefined | T
initUiConfig
- initUiConfig(config): void
Returns void
runAtEvent
- runAtEvent<T>(config, run): Promise<T>
Parameters
- config: UiObjectConfig<any, string, any>
- run: (() => T | Promise<T>)
- (): T | Promise<T>
Returns T | Promise<T>
Returns Promise<T>
setValue
- setValue<T>(config, value, props, forceOnChange?): Promise<boolean>
Parameters
- config: UiObjectConfig<T, string, any>
- value: T
- props: {
config?: UiObjectConfig<any, string, any>;
configPath?: UiObjectConfig<any, string, any>[];
last?: boolean;
lastValue?: T;
}Optional
config?: UiObjectConfig<any, string, any>
Optional
configPath?: UiObjectConfig<any, string, any>[]
Optional
last?: boolean
Optional
lastValue?: T
Optional
forceOnChange: boolean
Returns Promise<boolean>
only last needs to be set. check the docs for
setValue