Interface IOptionConfig
PIM selector list config example.
{
"widgets": [
{
"name": "pim-option",
"type": "pim-option",
"params": {
"option": {
"type": "radio",
"name": "Option1",
"id": 1,
"values": [
{
"name": "dog",
"id": 0
},
{
"name": "cat",
"id": 1
}
],
"selected": 1,
"tooltip": "its a tooltip",
"description": "its a desc"
},
"onChange": "{{ #function console.warn($['pim-option']._); }}"
}
}
]
}
Properties
active
Declaration
Property Value
config
Declaration
Property Value
css
Declaration
Property Value
onChange
A single function or an array of functions that will be executed when the option value is changed.
Declaration
onChange?: Function | Function[]
Property Value
Type |
Description |
Function | Function[] |
A single function or an array of functions that will be executed when the option value is changed.
|
option
Declaration
Property Value
Declaration
parentWidgetName?: string
Property Value
style
Declaration
style?: [key: string]: string
Property Value
Type |
Description |
[key: string]: string |
|
visible
Declaration
Property Value