Skip to content

charton API


charton API / @chart-on/ui / index / createPickerDialog

Function: createPickerDialog() ​

createPickerDialog<T>(host, schema, handlers, options?): PickerDialog

Defined in: ui/src/picker-dialog.ts:307

A modal list with search, categories, single or multiple selection, paging and row actions. It opens at once in host (the shell element) and is removed when closed.

Type Parameters ​

T ​

T extends PickerItem

Parameters ​

host ​

HTMLElement

schema ​

PickerSchema<T>

handlers ​

PickerHandlers<T>

options? ​

PickerDialogOptions = {}

Returns ​

PickerDialog