@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
29 lines (17 loc) • 2.41 kB
Markdown
# kol-alert
<!-- Auto Generated Below -->
## Properties
| Property | Attribute | Description | Type | Default |
| ------------ | ------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------- | ----------- |
| `_alert` | `_alert` | Defines whether the screen-readers should read out the notification. | `boolean` \| `undefined` | `false` |
| `_hasCloser` | `_has-closer` | Defines whether the element can be closed. | `boolean` \| `undefined` | `false` |
| `_label` | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` \| `undefined` | `undefined` |
| `_level` | `_level` | Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text. | `0` \| `1` \| `2` \| `3` \| `4` \| `5` \| `6` \| `undefined` | `0` |
| `_on` | -- | Gibt die EventCallback-Function für das Schließen des Alerts an. | `undefined` \| `{ onClose?: EventCallback<Event>` \| `undefined; }` | `undefined` |
| `_type` | `_type` | Defines either the type of the component or of the components interactive element. | `"default"` \| `"error"` \| `"info"` \| `"success"` \| `"warning"` \| `undefined` | `'default'` |
| `_variant` | `_variant` | Defines which variant should be used for presentation. | `"card"` \| `"msg"` \| `undefined` | `'msg'` |
## Slots
| Slot | Description |
| ---- | ----------------------- |
| | Der Inhalt der Meldung. |
----------------------------------------------