Closed ecarriou closed 7 years ago
Show how to create Web Components-like widgets:
What happens ?
<mywidget val="hello world !"/>
input
span
note: the purpose of the example is to show how easily you can create Web Component, and we show only one way to do that.
Show how to create Web Components-like widgets:
What happens ?
<mywidget val="hello world !"/>
is added to the body of the page,input
andspan
tag that are binded: the value in the span change if you change the input valuenote: the purpose of the example is to show how easily you can create Web Component, and we show only one way to do that.