UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

47 lines (21 loc) 1.12 kB
# kol-skeleton <!-- Auto Generated Below --> ## Properties | Property | Attribute | Description | Type | Default | | -------------------- | --------- | ---------------------------------------- | -------- | ----------- | | `_name` _(required)_ | `_name` | Sets the name of the skeleton component. | `string` | `undefined` | ## Events | Event | Description | Type | | ---------- | --------------------------------------------------------------- | --------------------- | | `loaded` | Emitted when the skeleton has finished loading. | `CustomEvent<number>` | | `rendered` | Emitted when the skeleton has been rendered for the first time. | `CustomEvent<void>` | ## Methods ### `focus() => Promise<void>` Focuses the interactive element of the component. #### Returns Type: `Promise<void>` ### `toggle() => Promise<void>` Toggles the visibility of the skeleton component. #### Returns Type: `Promise<void>` ----------------------------------------------