UNPKG

@zywave/zui-picker

Version:

## Installation

28 lines (27 loc) 1.26 kB
import { ZuiBaseElement } from '@zywave/zui-base'; import '@zywave/zui-pager'; import '@zywave/zui-search'; /** * `<zui-picker>` is the wrapper around `<zui-picker-item>`'s, it renders slots for many of picker's features such as search, pagination, count and other controls. * * @element zui-picker * * @slot search - Slot in a search, such as `<zui-search>` * @slot results-count - Slot for total available results count * @slot picker-items - Slot for where all available `<zui-multipicker-item>`'s go, make a container such as `<div` `slot="picker-items">` then place `<zui-multipicker-item>`'s within * @slot pager - Slot for pagination * * @cssprop [--zui-picker-item-font-size=inherit] - If necessary, this property exists for font size control, by default it should `inherit` successfully * * @event {CustomEvent} change - Event is fired when a selection is made, details contain the event to tell where it originated from */ export declare class ZuiPicker extends ZuiBaseElement { firstUpdated(): void; static get styles(): (import("lit").CSSResult | import("lit").CSSResultArray)[]; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'zui-picker': ZuiPicker; } }