Skip to main content

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).

Virtual node

Use the virtual attribute when the item should act only as a structural connector. In this mode the item does not render its own card or expander, but it keeps the child slot so child nodes can continue in the tree without a visible intermediate tile. The nested wje-orgchart is typically combined with the flat attribute.

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.

  • 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

PopisUrčuje, či je voľba boss zapnutá a ovplyvňuje správanie komponentu.
Atribútboss
Typboolean
Predvolenéfalse

virtual

PopisUrčuje, či je voľba virtual zapnutá a ovplyvňuje správanie komponentu.
Atribútvirtual
Typboolean
Predvolenéfalse

Events

NázovPopis
wje-orgchart-item:clickVyvolá sa pri kliknutí na komponent.

Methods

Pre tento komponent nie sú dostupné žiadne verejné metódy.

CSS shadow parts

NázovPopis
``Š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ázovPopis
defaultPredvolený slot pre hlavný obsah komponentu.
childSlot pre vlastný obsah child v komponente.