Skip to content

pantoken-root / formats/scope/src / ResolvedScope

インターフェース: ResolvedScope ​

ベータ

DOM に対して解決された ScopeConfig と、各部分がどこから来たかの情報。

拡張 ​

プロパティ ​

theme? ​

optional theme?: string

ベータ

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

継承元 ​

ScopeConfig.theme


scheme? ​

optional scheme?: Scheme

ベータ

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

継承元 ​

ScopeConfig.scheme


color? ​

optional color?: string

ベータ

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

継承元 ​

ScopeConfig.color


instanceId? ​

optional instanceId?: string

ベータ

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

継承元 ​

ScopeConfig.instanceId


element ​

element: Element | null

ベータ

いずれかのスコープ属性を宣言した最も近い要素、または存在しない場合は null。


bounded ​

bounded: boolean

ベータ

data-pantoken-boundary 要素で解決が停止した場合は True。