OrgChartItem
The OrgChartItem component is used to display a single item in the organizational structure. It can contain different types of nodes and links between them. This component is part of the OrgChart component, which is used to display the entire organizational structure.
For more information on using OrgChartItem, go to the [OrgChart] element documentation page(./orgchart).
When to use
Use wje-orgchart-item when the user needs to navigate the application or transition between states/screens.
When not to use
Do not use multiple parallel navigation patterns that compete with each other.
Accessibility
Provide clear active/selected states, predictable tab order, and naming of controls.
Recommended practices
- Keep the URL and UI state in sync to make the navigation reproducible.
- Use consistent terminology for items across menus, breadcrumb and tabs.
- For deep structures, add auxiliary context (breadcrumb, title, icons).
Attributes and properties
boss
| Popis | Určuje, či je voľba boss zapnutá a ovplyvňuje správanie komponentu. |
| Atribút | boss |
| Typ | boolean |
| Predvolené | false |
Events
Pre tento komponent nie sú dostupné žiadne udalosti.
Methods
dispatchEvent
| Popis | Vyvolá vlastnú udalosť z kontextu komponentu. |
| Signatúra | (e: any) => void |
CSS shadow parts
| Názov | Popis |
|---|---|
| `` | Štýluje shadow časť časť. |
native | Štýluje koreňovú shadow časť komponentu. |
expander | Štýluje shadow časť expander. |
CSS custom variables
Pre tento komponent nie sú dostupné žiadne vlastné CSS vlastnosti.
Slots
| Názov | Popis |
|---|---|
default | Predvolený slot pre hlavný obsah komponentu. |
child | Slot pre vlastný obsah child v komponente. |