From 11ada9856512bd7d344be2ce4683cf1a1e30f522 Mon Sep 17 00:00:00 2001 From: Yuichiro Yamashita Date: Mon, 25 Apr 2022 22:09:30 +0900 Subject: [PATCH] [docs] fix sentences in `` (#7484) --- site/content/docs/02-template-syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 00070e563c..5f19e91574 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -1635,11 +1635,11 @@ If `this` is falsy, no component is rendered. --- -The `` element lets you render an element of a dynamically specified type. This is useful for example when rich text content from a CMS. If the tag is changed, the children will be preserved unless there's a transition attached to the element. Any properties and event listeners present will be applied to the element. +The `` element lets you render an element of a dynamically specified type. This is useful for example when displaying rich text content from a CMS. Any properties and event listeners present will be applied to the element. The only supported binding is `bind:this`, since the element type specific bindings that Svelte does at build time (e.g. `bind:value` for input elements) does not work with a dynamic tag type. -If `this` has a nullish value, a warning will be logged in development mode. +If `this` has a nullish value, the element and its children will not be rendered. ```sv