File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
8-web-components/4-template-element Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ To summarize:
110
110
The ` <template> ` tag is quite unique, because:
111
111
112
112
- The browser checks HTML syntax inside it (as opposed to using a template string inside a script).
113
- - ...But still allows to use any top-level HTML tags, even those that don't make sense without proper wrappers (e.g. ` <tr> ` ).
113
+ - ...But still allows use of any top-level HTML tags, even those that don't make sense without proper wrappers (e.g. ` <tr> ` ).
114
114
- The content becomes interactive: scripts run, ` <video autoplay> ` plays etc, when inserted into the document.
115
115
116
116
The ` <template> ` element does not feature any iteration mechanisms, data binding or variable substitutions, but we can implement those on top of it.
You can’t perform that action at this time.
0 commit comments