Skip to main content

Sliding Container

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.

When to use

Use wje-sliding-container to compose a stable page layout with a clear content hierarchy.

When not to use

Do not use it to solve business logic or for stateful orchestration of components.

Accessibility

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.

Attributes and properties

addToHeight

PopisNastavuje rozmery alebo veľkosť pre voľbu add-to-height.
Atribútadd-to-height
Typstring
Predvolené0

animationDuration

PopisNastavuje textovú hodnotu uloženú vo voľbe animation-duration.
Atribútanimation-duration
Typstring
Predvolené500

animationEasing

PopisNastavuje textovú hodnotu uloženú vo voľbe animation-easing.
Atribútanimation-easing
Typstring
Predvolenélinear

direction

PopisNastavuje textovú hodnotu uloženú vo voľbe direction.
Atribútdirection
Typstring
Predvolenéright

hasOpacity

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

maxHeight

PopisNastavuje rozmery alebo veľkosť pre voľbu max-height.
Atribútmax-height
Typstring
Predvolenéauto

maxWidth

PopisNastavuje rozmery alebo veľkosť pre voľbu max-width.
Atribútmax-width
Typstring
Predvolenéauto

removeChildAfterClose

PopisUrčuje, či je voľba remove-child-after-close zapnutá a ovplyvňuje správanie komponentu.
Atribútremove-child-after-close
Typboolean|string
Predvolenéfalse

screenBreakPoint

PopisNastavuje textovú hodnotu uloženú vo voľbe screen-break-point.
Atribútscreen-break-point
Typstring
Predvolené-

trigger

PopisNastavuje textovú hodnotu uloženú vo voľbe trigger.
Atribúttrigger
Typstring
Predvolenésliding-container

variant

PopisNastavuje ARIA metadáta, ktoré zlepšujú prístupnosť pre asistenčné technológie.
Atribútvariant
Typstring
Predvolenéin-place

Events

NázovPopis
wje-sliding-container:beforeOpenVyvolá sa pri otvorení komponentu.
wje-sliding-container:openVyvolá sa pri otvorení komponentu.
wje-sliding-container:beforeCloseVyvolá sa pri zatvorení komponentu.
wje-sliding-container:afterCloseVyvolá sa pri zatvorení komponentu.

Methods

open

PopisOtvorí komponent a nastaví viditeľný stav.
Signatúra(e: Event) => Promise<void>

close

PopisZatvorí komponent a odstráni stav viditeľnosti.
Signatúra(e: Event) => Promise<void>

toggle

PopisPrepne toggle medzi zapnutým a vypnutým stavom.
Signatúra(e: Event) => Promise<void>

CSS shadow parts

NázovPopis
``Štýluje shadow časť časť.

CSS custom variables

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

Slots

NázovPopis
defaultPredvolený slot pre hlavný obsah komponentu.