8000 Merge pull request #380 from erubroeder/patch-1 · sveltejs/v2.svelte.dev@771839e · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Commit 771839e

Browse files
authored
Merge pull request #380 from erubroeder/patch-1
Update 02-template-syntax.md
2 parents 0c1e639 + f35a737 commit 771839e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

content/guide/02-template-syntax.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ You can also use tags in attributes:
3939
hideParagraph: false
4040
}
4141
```
42-
[Boolean attributes](https://www.w3.org/TR/html5/infrastructure.html#sec-boolean-attributes) like `hidden` will be omitted if the tag expression evaluates to false.
43-
42+
[Boolean attributes](https://www.w3.org/TR/html5/infrastructure.html#sec-boolean-attributes) like `hidden` will be omitted if the tag expression evaluates to false. Attributes will be removed from the element if their value is `undefined` or `null`.
4443

4544
### HTML
4645

0 commit comments

Comments
 (0)
0