API reference: @salmonui/calendars/date-picker
PickerHandleinterface
import type { PickerHandle } from '@salmonui/calendars/date-picker';Also exported from @salmonui/calendars/date-range-picker, @salmonui/calendars/time-picker.
interface PickerHandle {
readonly element: HTMLDivElement | null;
focus(options?: FocusOptions): void;
blur(): void;
open(): void;
close(): void;
}
The ref handle of every picker.
| Name | Signature | Description |
|---|---|---|
element | readonly element: HTMLDivElement | null; | The root element of the picker. |
focus | focus(options?: FocusOptions): void; | |
blur | blur(): void; | |
open | open(): void; | |
close | close(): void; |