shadow
The page for wje-sliding-container has been auto-completed so that the documentation covers the current version of the components.
Detailed instructions for use and recommendations will be added in the next content phase.
Use wje-sliding-container to compose a stable page layout with a clear content hierarchy.
Do not use it to solve business logic or for stateful orchestration of components.
Preserve the semantics of the document (header, main, aside, footer) and the logical order of focusable elements.
- Define desktop/mobile breakpoints first and then fine-tune the details.
- Prefer consistent spacing tokens over ad-hoc margin/padding values.
- For layouts with overflow, always test keyboard navigation and readers.
| Popis | Nastavuje rozmery alebo veľkosť pre voľbu add-to-height. |
| Atribút | add-to-height |
| Typ | string |
| Predvolené | 0 |
| Popis | Nastavuje textovú hodnotu uloženú vo voľbe animation-duration. |
| Atribút | animation-duration |
| Typ | string |
| Predvolené | 500 |
| Popis | Nastavuje textovú hodnotu uloženú vo voľbe animation-easing. |
| Atribút | animation-easing |
| Typ | string |
| Predvolené | linear |
| Popis | Nastavuje textovú hodnotu uloženú vo voľbe direction. |
| Atribút | direction |
| Typ | string |
| Predvolené | right |
| Popis | Určuje, či je voľba has-opacity zapnutá a ovplyvňuje správanie komponentu. |
| Atribút | has-opacity |
| Typ | boolean |
| Predvolené | false |
| Popis | Nastavuje rozmery alebo veľkosť pre voľbu max-height. |
| Atribút | max-height |
| Typ | string |
| Predvolené | auto |
| Popis | Nastavuje rozmery alebo veľkosť pre voľbu max-width. |
| Atribút | max-width |
| Typ | string |
| Predvolené | auto |
| Popis | Určuje, či je voľba remove-child-after-close zapnutá a ovplyvňuje správanie komponentu. |
| Atribút | remove-child-after-close |
| Typ | boolean|string |
| Predvolené | false |
| Popis | Nastavuje textovú hodnotu uloženú vo voľbe screen-break-point. |
| Atribút | screen-break-point |
| Typ | string |
| Predvolené | - |
| Popis | Nastavuje textovú hodnotu uloženú vo voľbe trigger. |
| Atribút | trigger |
| Typ | string |
| Predvolené | sliding-container |
| Popis | Nastavuje ARIA metadáta, ktoré zlepšujú prístupnosť pre asistenčné technológie. |
| Atribút | variant |
| Typ | string |
| Predvolené | in-place |
| Názov | Popis |
|---|
wje-sliding-container:beforeOpen | Vyvolá sa pri otvorení komponentu. |
wje-sliding-container:open | Vyvolá sa pri otvorení komponentu. |
wje-sliding-container:beforeClose | Vyvolá sa pri zatvorení komponentu. |
wje-sliding-container:afterClose | Vyvolá sa pri zatvorení komponentu. |
| Popis | Otvorí komponent a nastaví viditeľný stav. |
| Signatúra | (e: Event) => Promise<void> |
| Popis | Zatvorí komponent a odstráni stav viditeľnosti. |
| Signatúra | (e: Event) => Promise<void> |
| Popis | Prepne toggle medzi zapnutým a vypnutým stavom. |
| Signatúra | (e: Event) => Promise<void> |
| Názov | Popis |
|---|
| `` | Štýluje shadow časť časť. |
Pre tento komponent nie sú dostupné žiadne vlastné CSS vlastnosti.
| Názov | Popis |
|---|
default | Predvolený slot pre hlavný obsah komponentu. |