Fluxograma
Polymer 2.0 - Custom Element - Register Element
Conteúdo do fluxograma
Create file (.html) for custom-element
Import - Polymer in file (HTML import using <link> tag)
Create New Element in JS environment <script> tag
Register the newly created element with the browser with customElements.define
How Polymer Works (Creation and Use Custom Elements)
custom-element.html
import web-components-loader.js (<script> tag)
index.html
import custom-element.html file (<link> tag)
use custom-element tag
Informações
- Descrição
- Flow Chart - How to Register Element
- Criado por
- Ravi Upadhyay
- Visualizações
- 81
- Tags
- Avaliação