Skip to main content

SearchItemShowMore

<ui5-search-item-show-more> | Since 2.14.0
info

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

A ui5-search-item-show-more is a special type of ui5-li that acts as a button to progressively reveal additional (overflow) items within a group.

ES6 Module Import

import "@ui5/webcomponents-fiori/dist/SearchItemShowMore.js";

Properties

itemsToShowCount

DescriptionSpecifies the number of additional items available to show. If no value is defined, the control shows "Show more" (without any counter). If a number is provided, it displays "Show more (N)", where N is that number.
Typenumber | undefined
Defaultundefined

selected

DescriptionDefines whether the show more item is selected.
Typeboolean
Defaultfalse

Slots

No slots available for this component.

Events

click

DescriptionFired when the component is activated, either with a mouse/tap or by pressing the Enter or Space keys.
TypeCustomEvent<ShowMoreItemClickEventDetail>
ParametersfromKeyboard: boolean
Indicates whether the event was fired due to keyboard interaction (Enter or Space) rather than mouse/tap.
BubblesYes
CancelableYes - via preventDefault()

Methods

No methods available for this component.

CSS Parts

No CSS parts available for this component.