Merge pull request #969 from deniolp/deniolp-patch-1

Typo in article about Template
This commit is contained in:
Ilya Kantor 2019-05-09 11:07:49 +03:00 committed by GitHub
commit 7f5008e18a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ We can put styles and scripts into `<template>` as well:
</template>
```
The browser considers `<template>` content "out of the document", so the style is not applied, scripts are executed, `<video autoplay>` is not run, etc.
The browser considers `<template>` content "out of the document", so the style is not applied, scripts are not executed, `<video autoplay>` is not run, etc.
The content becomes live (the script executes) when we insert it.