Table of Contents

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

element ElementReference
clientX double
clientY double

Returns

ValueTask<double[]>