Skip to content

pantoken-root / formats/scope/src / ScopeMessage

Interface: ScopeMessage ​

Beta

The message envelope exchanged between a scope and its attached frames.

Extends ​

Properties ​

theme? ​

optional theme?: string

Beta

Theme key, e.g. "rebrand". Matched by [data-pantoken-theme="…"].

Inherited from ​

ScopeConfig.theme


scheme? ​

optional scheme?: Scheme

Beta

Pinned color scheme. Omit to follow the OS preference.

Inherited from ​

ScopeConfig.scheme


color? ​

optional color?: string

Beta

Custom brand color key.

Inherited from ​

ScopeConfig.color


type ​

type: "pantoken-scope" | "pantoken-scope-request"

Beta


instanceId ​

instanceId: string

Beta

Identifier of the pantoken instance that owns this scope.

Overrides ​

ScopeConfig.instanceId