Skip to main content

Module custom_elements

Module custom_elements 

Source
Expand description

Web Components: Custom Elements 仕様準拠の純粋ロジックモジュール。

WHATWG HTML Living Standard §4.13 “Custom elements” 準拠。 外部依存を持たず、ホスト環境 (tests/) で完全に単体テスト可能。

Structs§

CustomElementDefinition
登録されたカスタム要素の定義。
CustomElementRegistry
カスタム要素レジストリ(純粋データ構造)。

Enums§

DefineError

Constants§

RESERVED_NAMES 🔒
予約済みのカスタム要素名(HTML 仕様で定義された、ハイフンを含むが登録禁止の名前)。

Functions§

is_valid_custom_element_name
カスタム要素名が WHATWG 仕様に適合しているかを検証する。