Skip to content
Edit this page

TypeaheadOptionSource documentation

TypeScript declaration

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.

Types Documentation

import type { TypeaheadArray } from '@siemens/element-ng/typeahead';

An array of TypeaheadOption.

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.