Skip to content

pantoken-root / formats/scope/src / ScopeMessage

インターフェース: ScopeMessage ​

ベータ

スコープとそのアタッチされたフレーム間で交換されるメッセージエンベロープ。

拡張 ​

プロパティ ​

theme? ​

optional theme?: string

ベータ

テーマキー、例: "rebrand". [data-pantoken-theme="…"] でマッチします。

継承元 ​

ScopeConfig.theme


scheme? ​

optional scheme?: Scheme

ベータ

固定されたカラースキーム。省略すると OS の設定に従います。

継承元 ​

ScopeConfig.scheme


color? ​

optional color?: string

ベータ

カスタムブランドカラーのキー。

継承元 ​

ScopeConfig.color


type ​

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

ベータ


instanceId ​

instanceId: string

ベータ

このスコープを所有する pantoken インスタンスの識別子。

オーバーライド ​

ScopeConfig.instanceId