From 1ea09f61c03749ef642aad3bf46a0ffb90e04319 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Sat, 30 Apr 2022 14:17:37 -0400 Subject: [PATCH] adjust documentation --- site/content/docs/02-template-syntax.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index e9eed7d6de..41a0240e3c 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -1640,7 +1640,8 @@ The `` element lets you render an element of a dynamically speci 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, the element and its children will not be rendered. -If `this` has void tag name (e.g. `br`) and has child element(s), runtime throw error and nothing to render in development mode. + +If `this` is the name of a void tag (e.g., `br`) and `` has child elements, a runtime error will be thrown in development mode. ```sv