Interface Options

When initializing a typeahead, there are a number of options you can configure.

Index

Properties

Properties

optional public highlight?: boolean

highlight: If true, when suggestions are rendered, pattern matches for the current query in text nodes will be wrapped in a strong element. Defaults to false.

optional public hint?: boolean

If false, the typeahead will not show a hint. Defaults to true.

optional public minLength?: number

The minimum character length needed before suggestions start getting rendered. Defaults to 1.