<tap-empty>
Empty state component. Provides placeholder cues and messages when page or list content is empty.
Example
Loading...
<tap-empty></tap-empty> <tap-empty .text=${"No search results"}></tap-empty> <tap-empty .text=${"Your cart is empty"}></tap-empty>
API
Shadow DOM; Extends GemElement
Instance Properties
| Property(Attribute) | Reactive | Type |
|---|---|---|
icon |
Yes | string | Element | DocumentFragment |
text(text) |
Yes | string |
slotName(slot-name) |
Yes | string |
Other
| Type | Value |
|---|---|
| Slot | unnamed |
