<dy-empty>
An empty state component that displays when there is no data to show. It can include an icon and customizable content to provide context to the user.
Example
Loading...
<dy-empty .icon=${icons.delete}></dy-empty>
API
DuoyunEmptyElement
Extends TapEmptyElement
TapEmptyElement
Shadow DOM; Extends GemElement
TapEmptyElement Instance Properties
| Property(Attribute) | Reactive | Type |
|---|---|---|
icon |
Yes | string | Element | DocumentFragment |
text(text) |
Yes | string |
slotName(slot-name) |
Yes | string |
TapEmptyElement Other
| Type | Value |
|---|---|
| Slot | unnamed |
