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

Side by Side Diff: src/site/samples/todo/index.markdown

Issue 35563005: Added landing pages for new samples (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Added samples to be released to yaml file Created 7 years, 2 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
OLDNEW
1 --- 1 ---
2 layout: default 2 layout: default
3 title: Adding elements to the DOM 3 title: Adding elements to the DOM
Kathy Walrath 2013/10/23 15:41:05 Use Title Caps
4 live_example_url: /docs/tutorials/add-elements/examples/todo/todo.html 4 live_example_url: /docs/tutorials/add-elements/examples/todo/todo.html
5 header: 5 header:
6 css: ["/samples/samples.css"] 6 css: ["/samples/samples.css"]
7 --- 7 ---
8 8
9 ## {{ page.title }} 9 ## {{ page.title }}
10 10
11 Enter text in the input field and press return. 11 Enter text in the input field and press return.
12 12
13 This app shows how to programmatically add an element to the DOM. 13 This app shows how to programmatically add an element to the DOM.
14 14
15 In this example, when you press return, the event handler for the input 15 In this example, when you press return, the event handler for the input
16 field creates a new <li> element and adds it to an existing <ul> list in the 16 field creates a new <li> element and adds it to an existing <ul> list in the
17 DOM tree. When the DOM tree changes, the web page refreshes. 17 DOM tree. When the DOM tree changes, the web page refreshes.
18 18
19 Read this [tutorial](/docs/tutorials/add-elements/) for 19 Read this [tutorial](/docs/tutorials/add-elements/) for
20 more detail, or read the 20 more detail, or read the
21 [source](https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/tod o). 21 [source](https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/tod o).
22 22
23 <iframe class="running-app-frame" 23 <iframe class="running-app-frame"
24 style="height:400px;width:40%;" 24 style="height:400px;width:40%;"
25 src="{{page.live_example_url}}"> 25 src="{{page.live_example_url}}">
26 </iframe> 26 </iframe>
27 27
28 See all [samples](/samples/) 28 See all [samples](/samples/).
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698