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

Side by Side Diff: src/site/samples/todo_with_delete/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 ---
Kathy Walrath 2013/10/23 15:41:05 todo_with_delete/ -> todo-with-delete/ ?
2 layout: default 2 layout: default
3 title: Removing elements from the DOM 3 title: Removing elements from the DOM
Kathy Walrath 2013/10/23 15:41:05 Use Title Caps
4 live_example_url: /docs/tutorials/remove-elements/examples/todo_with_delete/todo _with_delete.html 4 live_example_url: /docs/tutorials/remove-elements/examples/todo_with_delete/todo _with_delete.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. Point the mouse cursor at an 11 Enter text in the input field and press return. Point the mouse cursor at an
12 item in the list. Click the item to delete it. 12 item in the list. Click the item to delete it.
13 13
14 This app shows how to programmatically remove an element from the DOM. 14 This app shows how to programmatically remove an element from the DOM.
15 15
16 In this example, when you click an item in the list, the event handler for 16 In this example, when you click an item in the list, the event handler for
17 the <li> element removes itself from the DOM tree. When the DOM tree 17 the <li> element removes itself from the DOM tree. When the DOM tree
18 changes, the web page refreshes. 18 changes, the web page refreshes.
19 19
20 Read this [tutorial](/docs/tutorials/remove-elements/) for 20 Read this [tutorial](/docs/tutorials/remove-elements/) for
21 more detail, or read the 21 more detail, or read the
22 [source](https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/tod o_with_delete). 22 [source](https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/tod o_with_delete).
23 23
24 <iframe class="running-app-frame" 24 <iframe class="running-app-frame"
25 style="height:400px;width:40%;" 25 style="height:400px;width:40%;"
26 src="{{page.live_example_url}}"> 26 src="{{page.live_example_url}}">
27 </iframe> 27 </iframe>
28 28
29 See all [samples](/samples/) 29 See all [samples](/samples/).
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698