shadow
The page for wje-toolbar-action has been automatically updated to ensure 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-toolbar-action 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 textovú hodnotu uloženú vo voľbe breakpoint. |
| Atribút | breakpoint |
| Typ | string |
| Predvolené | - |
| Popis | Nastavuje číselnú hodnotu používanú vo voľbe max-items. |
| Atribút | max-items |
| Typ | number|string |
| Predvolené | 0 |
| Popis | Nastavuje číselnú hodnotu používanú vo voľbe visible-items. |
| Atribút | visible-items |
| Typ | number|string |
| Predvolené | - |
Pre tento komponent nie sú dostupné žiadne udalosti.
| Popis | Spustí metódu scheduleOverflow na vykonanie logiky komponentu a aktualizáciu jeho stavu. |
| Signatúra | (doubleFrame?: boolean) => void |
| Popis | Vráti actions z aktuálneho stavu komponentu. |
| Signatúra | () => Array<HTMLElement> |
| Popis | Vráti assigned elements z aktuálneho stavu komponentu. |
| Signatúra | () => Array<HTMLElement> |
| Popis | Vráti existing dropdown z aktuálneho stavu komponentu. |
| Signatúra | () => HTMLElement|null |
| Popis | Spustí metódu observeExistingDropdown na vykonanie logiky komponentu a aktualizáciu jeho stavu. |
| Signatúra | () => void |
| Popis | Vráti overflow dropdown z aktuálneho stavu komponentu. |
| Signatúra | () => HTMLElement |
| Popis | Vráti overflow menu z aktuálneho stavu komponentu. |
| Signatúra | () => HTMLElement|null |
| Popis | Vráti visible limit z aktuálneho stavu komponentu. |
| Signatúra | () => number |
| Popis | Spustí metódu shouldCollapseByBreakpoint na vykonanie logiky komponentu a aktualizáciu jeho stavu. |
| Signatúra | () => boolean |
| Popis | Overí, či je collapsed by breakpoint aktuálne pravda. |
| Signatúra | () => boolean |
| Popis | Vráti breakpoint width z aktuálneho stavu komponentu. |
| Signatúra | () => number|null |
| Popis | Spustí metódu applyOverflow na vykonanie logiky komponentu a aktualizáciu jeho stavu. |
| Signatúra | () => void |
| Popis | Spustí metódu restoreManagedActions na vykonanie logiky komponentu a aktualizáciu jeho stavu. |
| Signatúra | (actions: Array<HTMLElement>) => void |
restoreManagedOverflowContent
| Popis | Spustí metódu restoreManagedOverflowContent na vykonanie logiky komponentu a aktualizáciu jeho stavu. |
| Signatúra | () => void |
| Popis | Vytvorí menu položku a pripojí ho do štruktúry komponentu. |
| Signatúra | (action: HTMLElement) => HTMLElement |
| Popis | Vytvorí overflow divider a pripojí ho do štruktúry komponentu. |
| Signatúra | () => HTMLElement |
| Popis | Spustí metódu measureActionMetrics na vykonanie logiky komponentu a aktualizáciu jeho stavu. |
| Signatúra | () => {count: number, widths: number[], gap: number, moreWidth: number, getWidthForCount: Function} |
| Popis | Spustí metódu measureMoreWidth na vykonanie logiky komponentu a aktualizáciu jeho stavu. |
| Signatúra | () => number |
| Názov | Popis |
|---|
native | Štýluje koreňovú shadow časť komponentu. |
Pre tento komponent nie sú dostupné žiadne vlastné CSS vlastnosti.
| Názov | Popis |
|---|
default | Predvolený slot pre hlavný obsah komponentu. |