Skip to content

pantoken-root / formats/scope/src / CreateScopeOptions

Interfáhta: CreateScopeOptions ​

Behta

Valgáid aggregate buohccehis.

Extendera ​

Properties ​

theme? ​

optional theme?: string

Behta

Téma-gova, d.b. "rebrand". Matchejuvvon dii [data-pantoken-theme="…"].

Eanetge definerejuvvon ​

ScopeConfig.theme


scheme? ​

optional scheme?: Scheme

Behta

Fastuheapme čalbmi-skema. Ávžžon go don leat áiggodit OS preferenssa mielde.

Eanetge definerejuvvon ​

ScopeConfig.scheme


color? ​

optional color?: string

Behta

Ovdas branda čalbmi-gova.

Eanetge definerejuvvon ​

ScopeConfig.color


instanceId? ​

optional instanceId?: string

Behta

Identifikáhtta mii čuovvutnieđii dan pantoken-instancea muhtumin dihtii sáddet. Scopes, storage keys, ja frame messages leat buot šaddet dán identifikáhtta báikkis.

Ovdalášuvvat ​

ScopeConfig.instanceId


boundary? ​

optional boundary?: boolean

Behta

Ceahppit ealáheapmi gávdnot dán elementtas, nuppi eai ollu dutnje sáhttá themevuođa maiddái maid leat dahkat. Geavahit esihievđasideami malli mii eai galgga álgat olbmui appa themea.


persist? ​

optional persist?: boolean

Behta

Gávdnat ja restorvodat stáhta. Áddet false maina guhká keep the scope in-memory only (default true)).


storage? ​

optional storage?: Pick<Storage, "getItem" | "setItem"> | null

Behta

Storage-backend (default localStorage, dulka čuovvut čavččašii gos ii leat vejolaš)).