import { MtxColorPickerModule } from '@ng-matero/extensions/color-picker';
MtxColorPicker
Selector: [mtx-color-picker]
[mtx-color-picker]
Exported as: mtxColorPicker
mtxColorPicker
Properties
The color picker component is just like a matInput.
matInput
Name
Description
@Input() value: string
value: string
Value of the color picker control.
@Input() placeholder: string
placeholder: string
Placeholder of the color picker control.
@Input() disabled: boolean
disabled: boolean
Whether disabled the color picker control.
@Output() colorChange: EventEmitter<{ color: Color; $event: MouseEvent }>
colorChange: EventEmitter<{ color: Color; $event: MouseEvent }>
Event emitted when the color changed.
Last updated 4 years ago