Carousel Item
The Carousel Item element is a component designed to be used within the Carousel element.
Note
For more information on using Card Title, navigate to the [Carousel] element documentation(./carousel)
When to use
Use wje-carousel-item to display content that improves the readability, scannability, or context of the information.
When not to use
Do not use it as a substitute for structured data where precise interaction is needed.
Accessibility
Add alternative text for images, legible contrasts and text equivalents for icons without descriptions.
Recommended practices
- Compress media and use lazy loading for large lists.
- Keep information priorities consistent for tabs and lists.
- Do not repeat the same information in text and icon at the same time with no added value.
Attributes and properties
Pre tento komponent nie sú dostupné žiadne vlastnosti.
Events
Pre tento komponent nie sú dostupné žiadne udalosti.
Methods
Pre tento komponent nie sú dostupné žiadne verejné metódy.
CSS shadow parts
Pre tento komponent nie sú dostupné žiadne CSS časti tieňa.
CSS custom variables
| Názov | Popis |
|---|---|
--wje-card-title-font-size | Vlastná CSS premenná, ktorá riadi typografiu. |
--wje-card-title-font-weight | Vlastná CSS premenná, ktorá riadi typografiu. |
--wje-card-title-margin | Vlastná CSS premenná, ktorá riadi margin. |
--wje-card-title-padding | Vlastná CSS premenná, ktorá riadi padding. |
--wje-card-title-line-height | Vlastná CSS premenná, ktorá riadi výšku riadku. |
Slots
| Názov | Popis |
|---|---|
default | Predvolený slot pre hlavný obsah komponentu. |