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

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

Issue 27267004: Re-configured samples page. (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: 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
« no previous file with comments | « no previous file | src/site/samples/countdown/index.markdown » ('j') | src/site/samples/samples.yaml » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ---
2 layout: default
3 title: Moving elements within the DOM tree
4 live_example_url: /docs/tutorials/add-elements/examples/anagram/anagram.html">
5 header:
6 css: ["/samples/samples.css"]
7 ---
8
9 ## {{ page.title }}
10
11 Form a word by clicking the letter tiles.
12
13 This app shows how to programmatically move an element on the page.
14
15 To move an element on the page, change its parent element. An element can have
16 only one parent, so changing the parent moves the element in the DOM tree. In
17 this example, when you click on a tile, the click handler changes the tile’s
18 parent.
19
20 Read this [tutorial](/docs/tutorials/add-elements/#moving-elements) for
21 more detail, or read the
22 [source](https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/ana gram).
23
24 <iframe class="running-app-frame"
25 style="height:400px;width:40%;"
26 src="{{page.live_example_url}}">
27 </iframe>
28
29 See all [samples](/samples/)
OLDNEW
« no previous file with comments | « no previous file | src/site/samples/countdown/index.markdown » ('j') | src/site/samples/samples.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698