From 169d9ba6a82b3ba2db23c6780aadc8b7643f2592 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Tue, 18 Jan 2022 00:30:05 +0900 Subject: ウェブコンポーネント関連の HTML の記事を変換準備 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ja/web/html/global_attributes/slot/index.html | 48 ---------------------- files/ja/web/html/global_attributes/slot/index.md | 48 ++++++++++++++++++++++ 2 files changed, 48 insertions(+), 48 deletions(-) delete mode 100644 files/ja/web/html/global_attributes/slot/index.html create mode 100644 files/ja/web/html/global_attributes/slot/index.md (limited to 'files/ja/web/html/global_attributes/slot') diff --git a/files/ja/web/html/global_attributes/slot/index.html b/files/ja/web/html/global_attributes/slot/index.html deleted file mode 100644 index 95c74b04c4..0000000000 --- a/files/ja/web/html/global_attributes/slot/index.html +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: slot -slug: Web/HTML/Global_attributes/slot -tags: - - Global attributes - - HTML - - Reference -translation_of: Web/HTML/Global_attributes/slot ---- -
{{HTMLSidebar("Global_attributes")}}
- -

slotグローバル属性で、シャドウ DOM のシャドウツリー内にあるスロットをある要素に割り当てます。 slot 属性をもつ要素は、{{htmlattrxref("name", "slot")}} 属性の値がその slot 属性の値と一致する {{HTMLElement("slot")}} 要素により生成されたスロットに割り当てられます。

- -

例えば、テンプレートとスロットの使用ガイドをみてください。

- -

仕様書

- - - - - - - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName('HTML WHATWG', "dom.html#attr-slot", "slot attribute")}}{{Spec2('HTML WHATWG')}}
{{SpecName('DOM WHATWG', "#dom-element-slot", "slot attribute")}}{{Spec2('DOM WHATWG')}}
- -

ブラウザーの互換性

- -

{{Compat("html.global_attributes.slot")}}

- -

関連情報

- - diff --git a/files/ja/web/html/global_attributes/slot/index.md b/files/ja/web/html/global_attributes/slot/index.md new file mode 100644 index 0000000000..95c74b04c4 --- /dev/null +++ b/files/ja/web/html/global_attributes/slot/index.md @@ -0,0 +1,48 @@ +--- +title: slot +slug: Web/HTML/Global_attributes/slot +tags: + - Global attributes + - HTML + - Reference +translation_of: Web/HTML/Global_attributes/slot +--- +
{{HTMLSidebar("Global_attributes")}}
+ +

slotグローバル属性で、シャドウ DOM のシャドウツリー内にあるスロットをある要素に割り当てます。 slot 属性をもつ要素は、{{htmlattrxref("name", "slot")}} 属性の値がその slot 属性の値と一致する {{HTMLElement("slot")}} 要素により生成されたスロットに割り当てられます。

+ +

例えば、テンプレートとスロットの使用ガイドをみてください。

+ +

仕様書

+ + + + + + + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName('HTML WHATWG', "dom.html#attr-slot", "slot attribute")}}{{Spec2('HTML WHATWG')}}
{{SpecName('DOM WHATWG', "#dom-element-slot", "slot attribute")}}{{Spec2('DOM WHATWG')}}
+ +

ブラウザーの互換性

+ +

{{Compat("html.global_attributes.slot")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf