diff --git a/src/api/options-dom.md b/src/api/options-dom.md index 5aca0f1a..e29a02a0 100644 --- a/src/api/options-dom.md +++ b/src/api/options-dom.md @@ -2,34 +2,35 @@ ## template -- **Type:** `string` +- **型:** `string` -- **Details:** +- **詳細:** - A string template to be used as the markup for the component instance. The template will **replace** the mounted element. Any existing markup inside the mounted element will be ignored, unless content distribution slots are present in the template. + コンポーネントインスタンスのマークアップとして使われる文字列のテンプレートです。そのテンプレートはマウントされた要素の `innerHTML` を **置換** します。マウントされた要素内の既存マークアップは、テンプレート内にコンテンツ配信スロットが存在しない限り、どれも無視されます。 - If the string starts with `#` it will be used as a `querySelector` and use the selected element's innerHTML as the template string. This allows the use of the common `