projects/components/widgets/input/color-picker/src/color-picker.component.doc.ts
The wmColorPicker component defines the colorpicker widget.
Methods |
Inputs |
| onBlur | ||||||||||||
onBlur($event: MouseEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the widget loses focus.
Parameters :
Returns :
void
|
| onChange | ||||||||||||||||||||
onChange($event: MouseEvent, widget: any, newVal: string, oldVal: string)
|
||||||||||||||||||||
|
Callback function which will be triggered when the widget value is changed.
Parameters :
Returns :
void
|
| onClick | ||||||||||||
onClick($event: MouseEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the widget is clicked.
Parameters :
Returns :
void
|
| onFocus | ||||||||||||
onFocus($event: MouseEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the widget gets focused.
Parameters :
Returns :
void
|
| onMouseenter | ||||||||||||
onMouseenter($event: MouseEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the mouse enters the widget.
Parameters :
Returns :
void
|
| onMouseleave | ||||||||||||
onMouseleave($event: MouseEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the mouse leaves the widget.
Parameters :
Returns :
void
|
| onTap | ||||||||||||
onTap($event: TouchEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the tap event is triggered on a widget.
Parameters :
Returns :
void
|
| class |
Type : string
|
|
Class of the widget. |
| datavalue |
Type : string
|
|
Value of the colorpicker widget. Accepts the value from a studio variable or from another widget's value. Bindable: |
| disabled |
Type : boolean
|
|
This property will be used to disable/enable the colorpicker widget on the web page. Bindable: |
| name |
Type : string
|
|
Name of the colorpicker widget. |
| placeholder |
Type : string
|
Default value : 'Select Color'
|
|
Placeholder text for the widget. Bindable: |
| readonly |
Type : boolean
|
|
This property will be used to make the colorpicker widget non-editable on the web page. Bindable: |
| required |
Type : boolean
|
|
This property defines if the colorpicker is a required field while form submission. Bindable: |
| shortcutkey |
Type : string
|
|
The shortcut key property specifies a shortcut key to activate/focus an element. |
| show |
Type : boolean
|
Default value : true
|
|
This property will be used to show/hide the colorpicker widget on the web page. Bindable: |
| tabindex |
Type : number
|
Default value : 0
|
|
This property specifies the tab order of the Colorpicker Widget. |