Typeahead documentation¶
TypeScript declaration¶
import type { Typeahead } from '@siemens/element-ng/typeahead';Either a TypeaheadObservable (observable of a TypeaheadArray) or a TypeaheadArray.
Types Documentation¶
import type { TypeaheadArray } from '@siemens/element-ng/typeahead';An array of TypeaheadOption.
import type { TypeaheadObservable } from '@siemens/element-ng/typeahead';An observable of a TypeaheadArray (array of TypeaheadOption).
import type { TypeaheadOptionSource } from '@siemens/element-ng/typeahead';Defines a source of options for the SiTypeaheadDirective. Use it for server-side pre-filtering.
This function will be called, whenever the search value is updated by the user.
A loading indicator is shown when this function was called until the Observable completes.
import type { TypeaheadOption } from '@siemens/element-ng/typeahead';A singular item to be used in the typeahead. Can be either a string or an object.
Except where otherwise noted, content on this site is licensed under MIT License.