Skip to content

DisplayedCriteriaEventArgs Type documentation

TypeScript declaration

import type { DisplayedCriteriaEventArgs } from '@siemens/element-ng/filtered-search';

Event allows to intercept and change the displayed criteria before shown in typeahead.

Properties
Methods

Types Documentation

import type { SearchCriteria } from '@siemens/element-ng/filtered-search';

On search, the filtered search component emits a SearchCriteria object. It consists of all user selected criteria and the free text input value.

Properties
  • The selected criteria of the filtered search. Each criteria has a name and a value.

    criteria: CriterionValue[]

  • Additional unstructured free text, which the user entered in the search.

    value: string

import type { CriterionValue } from '@siemens/element-ng/filtered-search';

A CriterionValue is the input/output value of the SiFilteredSearchComponent, containing the user input.

Properties
  • If the criterion was defined as date or date-time this field will contain the value das js Date.

    dateValue?: Date

  • The mandatory name of a criterion.

    name: string

  • This property holds the selected or entered operator of the criterion.

    operator?: string

  • The value property holds the selected or entered value/values of the criterion. The value can also be passed as an array of strings. When multiSelect is enabled, the items in the value array will be shown as selected values in value input and the typeahead.

    value?: string | string[]


Except where otherwise noted, content on this site is licensed under MIT License.