Skip to content

pantoken-root / scope

scope ​

Beta

@pantoken/core — transfòmatè pantoken an.

Kle CSS Pantoken yo asiyen tèm nan yon atribi data-pantoken-theme ki matche ak any eleman, pa sèlman :root, kidonk theming se yon pwopriyete yon sou-arbr olye ke paj la antye. Pake sa a se demi runtime kontra sa a:

  • resolveScope monte soti nan yon eleman pou jwenn tèm nan, sistèm lan, ak koulè ki an efè — demi otomatik deteksyon an.
  • createScope deklare yon scope eksplisitman, ak pwòp eta pèsistan li ak pwòp chanèl mesaj frame li — demi konfigirasyon manyèl la ki anpeche de enstans kolizyon.
  • ensureProperties enjekte enskripsyon @property global dokiman an yon sèl fwa, kèlkeswa kantite enstans ki mande yo.

San Node pa konsepsyon: sa voye nan navigatè a.

Entèfas ​

Alyas tip ​

Varyab ​

Fonksyon ​

Referans ​

BOUNDARY_ATTR ​

Re-eksport BOUNDARY_ATTR


BOUNDARY_CLASS ​

Re-eksport BOUNDARY_CLASS


COLOR_ATTR ​

Re-eksporte Mode


SCHEME_ATTR ​

Re-eksporte Mode


THEME_ATTR ​

Re-eksporte Mode


colorClass ​

Re-eksporte Mode


schemeClass ​

Re-ekspòte Theme


themeClass ​

Re-ekspòte Theme