Interface IColorPickerJsInterop
- Namespace
- BlazOrbit.Components.Forms
- Assembly
- BlazOrbit.dll
JS interop contract for the color picker module.
public interface IColorPickerJsInterop
Methods
GetRelativePositionAsync(ElementReference, double, double)
Returns the pointer position relative to the given element as [x, y].
ValueTask<double[]> GetRelativePositionAsync(ElementReference element, double clientX, double clientY)
Parameters
elementElementReferenceclientXdoubleclientYdouble
Returns
- ValueTask<double[]>