Events
This article explains the events available in the Telerik Color Palette for Blazor:
OnChange
The OnChange event represents a user action - confirmation of the current value. It fires when the user clicks, taps or presses Enter to select a color, or when the component loses focus. It does not prevent you from using two-way binding for the Value.
Handle OnChange and use two-way binding for the Value
The event is an
EventCallback. It can be synchronous and returnvoid, or asynchronous and returnasync Task. Do not useasync void.
The
OnChangeevent is a custom event and does not interfere with bindings, so you can use it together with models and forms.
ValueChanged
The ValueChanged event fires upon every change (selection of color) in the component. Its main purpose is to provide two-way biding of the Value.
Handle ValueChanged
The event is an
EventCallback. It can be synchronous and returnvoid, or asynchronous and returnasync Task. Do not useasync void.
OnBlur
The OnBlur event fires when the component loses focus.
Handle the OnBlur event