Skip to main content

SearchItem

<ui5-search-item> | Since 2.9.0
info

The following entity is available under an experimental flag and its API and behavior are subject to change.

A ui5-search-item is a list item, used for displaying search suggestions

ES6 Module Import​

import "@ui5/webcomponents/fiori/dist/SearchItem.js";

Properties​

text​

DescriptionDefines the heading text of the search item.
Typestring
Default""

icon​

DescriptionDefines the icon name of the search item.
Typestring
Default""

selected​

DescriptionDefines whether the search item is selected.
Typeboolean
Defaultfalse

scopeName​

DescriptionDefines the scope of the search item
Typestring | undefined
Defaultfalse

Slots​

No slots available for this component.

Events​

delete​

DescriptionFired when delete button is pressed.
TypeCustomEvent
BubblesNo
CancelableNo

Methods​

No methods available for this component.

CSS Parts​

No CSS parts available for this component.