Skip to content

@jsvision/ui / HistoryOptions

Interface: HistoryOptions

Defined in: ui/src/dropdown/history.ts:26

Options for a History control.

Properties

history?

optional history?: Signal<string[]>

Defined in: ui/src/dropdown/history.ts:32

Bind an app-owned list instead of the global store.


historyId?

optional historyId?: number

Defined in: ui/src/dropdown/history.ts:30

Numeric id keying the process-global MRU store; two Histories with the same id share a list.


link: Input

Defined in: ui/src/dropdown/history.ts:28

The Input this history is linked to (drawn adjacent; its text is read and replaced on pick).


maxRows?

optional maxRows?: number

Defined in: ui/src/dropdown/history.ts:34

Max visible popup rows (default 6).