Methods
clickButton
- clickButton(config, options?): Promise<void>
Parameters
Optional
options: {
args: any[];
}
Returns Promise<void>
dispatchOnChange
- dispatchOnChange<T>(config, props): Promise<void>
Returns Promise<void>
dispatchOnChangeSync
- dispatchOnChangeSync(config, props, ...args): void
Returns void
getBinding
- getBinding(config): [any, string | number]
Returns [any, string | number]
getLabel
- getLabel(config): string
Returns string
getValue
- getValue<T>(config): T
Returns T
initUiConfig
- initUiConfig(config): void
Returns void
runAtEvent
- runAtEvent<T>(config, run): Promise<T>
Parameters
run: (() => T | Promise<T>)
- (): T | Promise<T>
Returns T | Promise<T>
Returns Promise<T>
setValue
- setValue<T>(config, value, props, forceOnChange?): Promise<boolean>
Parameters
value: T
props: {
config?: UiObjectConfig<any, string, any>;
configPath?: UiObjectConfig<any, string, any>[];
last?: boolean;
}
Optional
forceOnChange: boolean
Returns Promise<boolean>