Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: src/site/docs/tutorials/custom-elements/index.markdown

Issue 19621005: linked to new polymer examples (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: kw tweaks Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/site/docs/tutorials/fetchdata/index.markdown » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 --- 1 ---
2 layout: default 2 layout: default
3 title: "Target 8: Define a Custom DOM Tag" 3 title: "Target 8: 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 --- 8 ---
9 9
10 {% capture whats_the_point %} 10 {% capture whats_the_point %}
(...skipping 18 matching lines...) Expand all
29 <li> 29 <li>
30 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web /target08/convertthis" 30 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web /target08/convertthis"
31 target="_blank">convertthis</a> 31 target="_blank">convertthis</a>
32 </li> 32 </li>
33 </ul> 33 </ul>
34 34
35 {% endcapture %} 35 {% endcapture %}
36 36
37 {% capture content %} 37 {% capture content %}
38 38
39 <hr>
40
41 <aside class="alert" style="background-color:Lavender;color:SlateBlue">
42 <font size="24">
43 <i class="icon-bullhorn"> </i>
44 </font>
45
46 The Dart Web UI team recently
47 <a href="https://groups.google.com/a/dartlang.org/forum/#!topic/web-ui/6laXXxR tA7k">announced</a>
48 a port of the Polymer project:
49 <a href="http://pub.dartlang.org/packages/polymer">polymer.dart</a>.
50
51 We've converted most of the tutorial Web UI examples and compiled some
52 <a href="https://github.com/dart-lang/dart-tutorials-samples/blob/master/web/t o-polymer-notes.txt" target="_blank">notes</a>
53 along the way.
54 Check out source code for the polymer version of the
55 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/t arget08-polymer/drseuss"
56 target="_blank">drseuss</a>
57 example.
58 </aside>
59
60 <hr>
61
39 Custom elements are one kind of web component 62 Custom elements are one kind of web component
40 defined in the Web Components model. 63 defined in the Web Components model.
41 Using templates and scripts, 64 Using templates and scripts,
42 a custom element defines a new DOM tag 65 a custom element defines a new DOM tag
43 that extends an existing tag. 66 that extends an existing tag.
44 This target shows you how to define a custom element 67 This target shows you how to define a custom element
45 and how to create an instance of that element. 68 and how to create an instance of that element.
46 Dart's implementation of custom elements is in the 69 Dart's implementation of custom elements is in the
47 <a href="http://pub.dartlang.org/packages/web_ui" 70 <a href="http://pub.dartlang.org/packages/web_ui"
48 target="blank">Web UI package</a>, 71 target="blank">Web UI package</a>,
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 </a> 416 </a>
394 </div> 417 </div>
395 <div class="span3"> 418 <div class="span3">
396 <a href="/docs/tutorials/fetchdata/" class="pull-right">Fetch Data Dynamically <i class="icon-chevron-right"> </i> </a> 419 <a href="/docs/tutorials/fetchdata/" class="pull-right">Fetch Data Dynamically <i class="icon-chevron-right"> </i> </a>
397 </div> 420 </div>
398 </div> 421 </div>
399 422
400 {% endcapture %} 423 {% endcapture %}
401 424
402 {% include tutorial.html %} 425 {% include tutorial.html %}
OLDNEW
« no previous file with comments | « no previous file | src/site/docs/tutorials/fetchdata/index.markdown » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698