API Reference › Globals › UIMock
# Class: UIMock
# Hierarchy
- UIMock
# Index
# Constructors
# Methods
# Constructors
# constructor
+ new UIMock(element
: HTMLElement): UIMock
Defined in packages/configurator-core/src/utils/test-helpers/ui-mock.ts:17
Parameters:
Name | Type |
---|---|
element | HTMLElement |
Returns: UIMock
# Methods
# getParameterByKey
▸ getParameterByKey(id
: string): KernelParameter
Defined in packages/configurator-core/src/utils/test-helpers/ui-mock.ts:83
Parameters:
Name | Type |
---|---|
id | string |
Returns: KernelParameter
# getPossibleChild
▸ getPossibleChild(id
: RapiId): UiPossibleChild
Defined in packages/configurator-core/src/utils/test-helpers/ui-mock.ts:92
Parameters:
Name | Type |
---|---|
id | RapiId |
Returns: UiPossibleChild
# initAndLoadId
▸ initAndLoadId(id
: RapiId): Promise‹unknown›
Defined in packages/configurator-core/src/utils/test-helpers/ui-mock.ts:58
Parameters:
Name | Type |
---|---|
id | RapiId |
Returns: Promise‹unknown›
# parametersUpdate
▸ parametersUpdate(): Promise‹unknown›
Defined in packages/configurator-core/src/utils/test-helpers/ui-mock.ts:77
Returns: Promise‹unknown›
# possibleChildrenUpdate
▸ possibleChildrenUpdate(): Promise‹unknown›
Defined in packages/configurator-core/src/utils/test-helpers/ui-mock.ts:71
Returns: Promise‹unknown›