Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TrivialListBoxConfig<E>

Type parameters

  • E

Hierarchy

Index

Properties

Optional entries

entries: E[]

The initial list of suggested entries.

Optional entryRenderingFunction

entryRenderingFunction: RenderingFunction<E>

Rendering function used to display a suggested entry (i.e. an entry displayed in the dropdown).

param
returns

HTML string

default

Using the image2LinesTemplate from TrivialCore.

Optional matchingOptions

matchingOptions: MatchingOptions

Used for highlighting suggested entries. Also used by the default filtering functions int TrivialCore.

default

{ matchingMode: 'contains', ignoreCase: true, maxLevenshteinDistance: 1 }

Optional noEntriesTemplate

noEntriesTemplate: string

Html string defining what to display when the list of results from the queryFunction is empty.

Optional selectedEntry

selectedEntry: E

The initially selected entry. (Caution: use selectedEntries for TrivialTagBox).

Generated using TypeDoc