SiFilterPillComponent documentation¶
import { SiFilterPillComponent } from '@siemens/element-ng/filter-bar'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| disabled ¶ | boolean | false | Whether the pill's delete button is disabled. |
| filter required ¶ | Filter | Settings of the filter pill. | |
| totalPills ¶ | number | 0 | Total number of filter pills currently displayed. |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| deleteFilters ¶ | Filter | Emits the filter when its delete button is clicked. |
Types Documentation¶
Short description of filter pill. Can be left empty if title is used to align the title to middle of pill. Identification name of filter pill. Is not shown to the user, please specify either a title or a description. Deprecated: The status property has been deprecated as it no longer has any visual effect on filter pills. This property will be removed in the next major version. Please remove this property from your Filter objects as it is now ignored by the filter component. status ? : Shown title of filter pill. Can be left empty if description is used. title ? : import type { Filter } from '@siemens/element-ng/filter-bar';
FilterStatusType ¶ TranslatableString ¶
Represents a translatable string. This can either be a translation key, e.g. import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit. Equivalent to a normal string in usage and functionality.
Deprecated: FilterStatusType has been deprecated as it no longer has any visual effect on filter pills. This type will be removed in the next major version. Please remove any usage of the import type { FilterStatusType } from '@siemens/element-ng/filter-bar';status property from your Filter objects as it is now ignored by the component.
Except where otherwise noted, content on this site is licensed under MIT License.