Comment
import { AXCommentModule } from '@acorex/components/comment'; Overview
View 1 Reply
Usage
Preview
Code
Methods
| onBlur | AXFocusEvent | Specifies the function to be called when the color palette loses focus. |
| onFocus | AXFocusEvent | Specifies the function to be called when the color palette gains focus. |
| stateChange | AXComponentState | Invokes the function when the state of the color palette changes. |
| readonlyChange | boolean | Calls the function when the readonly state of the color palette changes. |
| valueChange | any | Calls the function when the value of the color palette changes. |
| onValueChanged | AXValueChangedEvent<any> | Triggers the function when the value of the color palette changes. |
| disabledChange | boolean | Calls the function when the disabled state of the color palette changes. |
| validationRulesChange | AXFormValidationRule[] | Invokes the function when the validation rules for the color palette change. |
| onOptionChanged | AXOptionChangedEvent | Triggers the function when an option related to the color palette changes. |
Props
| disabled | boolean | false | Disables the color palette, preventing any interaction with it. |
| readonly | boolean | false | Determines if the color palette is read-only, meaning the user cannot change the selected color. |
| tabIndex | number | 0 | Sets the tab index of the color palette, determining its position in the tab order. |
| value | - | - | Specifies the current selected color value of the color palette. |
| state | AXComponentState | clear | Indicates the state of the color palette |
| name | string | - | Specifies the name of the color palette, used for identification purposes. |
| checked | - | - | Shows whether the color palette is checked or selected, if applicable. |