atomic-no-results

This is for:

Developer
In this article

The atomic-no-results component displays search tips and a "Cancel last action" button when there are no results. Any additional content slotted inside of its element will be displayed as well.

Properties

Property Attribute Description Type Default

enableCancelLastAction

enable-cancel-last-action

Whether to display a button which cancels the last available action.

boolean

true

Shadow Parts

Part Description

cancel-button

The "Cancel last action" button.

highlight

The highlighted query.

no-results

The text indicating that no results were found for the search.

search-tips

The search tips to help the user correct the query.