Skip to content

charton API


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

Type Alias: SymbolSearchPart ​

SymbolSearchPart = (chart, host, keys, favorites?) => SymbolSearchDialog

Defined in: ui/src/symbol-search.ts:466

The shell's symbolSearch part, made by symbolSearch(options). The shell calls it with its chart, its element and the keys of the symbol-search action (/, plus Mod+K without a command palette).

Parameters ​

chart ​

Chart

host ​

HTMLElement

keys ​

readonly string[]

favorites? ​

FavoritesList | null

Returns ​

SymbolSearchDialog