OLD | NEW |
1 --- | 1 --- |
2 layout: default | 2 layout: default |
3 title: "Define a Custom DOM Tag" | 3 title: "Define a Custom DOM Tag" |
4 description: "Define a custom DOM element tag with help from the Web UI package" | 4 description: "Define a custom DOM element tag with help from the Web UI package" |
5 has-permalinks: true | 5 has-permalinks: true |
6 tutorial: | 6 tutorial: |
7 id: web-components | 7 id: web-components |
8 next: fetchdata/ | 8 next: polymer-intro/ |
9 next-title: "Fetch Data Dynamically" | 9 next-title: "Polymer" |
10 prev: templates/ | 10 prev: templates/ |
11 prev-title: "Use Templates" | 11 prev-title: "Use Templates" |
12 --- | 12 --- |
13 | 13 |
14 {% capture whats_the_point %} | 14 {% capture whats_the_point %} |
15 | 15 |
16 * Make your own DOM element tags with the <element> tag. | 16 * Make your own DOM element tags with the <element> tag. |
17 * A custom element requires a template and can have a script. | 17 * A custom element requires a template and can have a script. |
18 * Use data binding to connect Dart variables to content. | 18 * Use data binding to connect Dart variables to content. |
19 * Directly attach event handlers in HTML. | 19 * Directly attach event handlers in HTML. |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 The Web UI package contains several examples, | 404 The Web UI package contains several examples, |
405 including a version of | 405 including a version of |
406 <a href="https://github.com/dart-lang/web-ui/tree/master/example/todomvc" | 406 <a href="https://github.com/dart-lang/web-ui/tree/master/example/todomvc" |
407 target="_blank">TodoMVC</a>. | 407 target="_blank">TodoMVC</a>. |
408 </li> | 408 </li> |
409 </ul> | 409 </ul> |
410 | 410 |
411 {% endcapture %} | 411 {% endcapture %} |
412 | 412 |
413 {% include tutorial.html %} | 413 {% include tutorial.html %} |
OLD | NEW |