UNPKG

@spectrum-web-components/picker

Version:

An `<sp-picker>` is an alternative to HTML's `<select>` element. Use [`<sp-menu-item>`](../menu-item) elements to outline the options that will be made available to the user when interacting with the `<sp-picker>` element.

8 lines (7 loc) 296 B
import { InteractionController, InteractionTypes } from './InteractionController.js'; export declare class DesktopController extends InteractionController { type: InteractionTypes; handlePointerdown(event: PointerEvent): void; handleActivate(event?: Event): void; init(): void; }