Skip to main content

Popup

shadow

The page for wje-popup has been automatically updated 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.

When to use

Use wje-popup when you need to instantly communicate the status, result of an action, or next step to the user.

When not to use

Don't use multiple competing feedback channels at the same time for one event.

Accessibility

Communicate message status through appropriate ARIA live regions and manage focus (open/close) for modal elements.

  • Select the severity of the messages (info/success/warning/error) according to the real impact on the user.
  • For blocking actions, prefer confirmation only where irreversible change is imminent.
  • Set consistent timeouts so the user has time to read the message.

Attributes and properties

loader

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

manual

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

portal

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

Events

NázovPopis
wje-portal:restoredVyvolá sa pri odoslaní udalosti wje-portal:restored.
wje-popup:repositionVyvolá sa pri odoslaní udalosti wje-popup:reposition.
wje-popup:showVyvolá sa pri odoslaní udalosti wje-popup:show.
wje-popup:hideVyvolá sa pri odoslaní udalosti wje-popup:hide.
wje-popup:beforeshowVyvolá sa pri odoslaní udalosti wje-popup:beforeshow.
wje-popup:aftershowVyvolá sa pri odoslaní udalosti wje-popup:aftershow.
wje-router:rebindVyvolá sa pri odoslaní udalosti wje-router:rebind.
wje-popup:openedVyvolá sa pri otvorení komponentu.

Methods

setAnchor

PopisNastaví anchor a aplikuje súvisiace zmeny stavu.
Signatúra() => void

show

PopisZobrazí show v používateľskom rozhraní komponentu.
Signatúra(dispatchEvent?: boolean) => void

hide

PopisSkryje hide v používateľskom rozhraní komponentu.
Signatúra(dispatchEvent: any) => void

CSS shadow parts

NázovPopis
nativeŠtýluje koreňovú shadow časť komponentu.

CSS custom variables

Pre tento komponent nie sú dostupné žiadne vlastné CSS vlastnosti.

Slots

NázovPopis
anchorSlot pre kotviaci alebo referenčný prvok.
arrowSlot pre vlastný prvok šípky.
defaultPredvolený slot pre hlavný obsah komponentu.