OLD | NEW |
---|---|
1 --- | 1 --- |
2 layout: default | 2 layout: default |
3 title: Simple localstorage example | 3 title: Simple localstorage example |
Kathy Walrath
2013/10/23 15:41:05
Use title case. Should it be "localstorage" or "Lo
| |
4 live_example_url: example/index.html | 4 live_example_url: example/index.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 This is a very simple example of the use of localstorage for data | 11 This is a very simple example of the use of localstorage for data |
12 persistence. When you enter a value in the `input` below, it is stored | 12 persistence. When you enter a value in the `input` below, it is stored |
13 in localstorage. The value is then retrieved from localstorage and displayed | 13 in localstorage. The value is then retrieved from localstorage and displayed |
14 on the page. | 14 on the page. |
15 | 15 |
16 Read the | 16 Read the |
17 [source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/localst orage/basics). | 17 [source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/localst orage/basics). |
18 | 18 |
19 <iframe class="running-app-frame" | 19 <iframe class="running-app-frame" |
20 style="height:400px;width:50%;" | 20 style="height:400px;width:50%;" |
21 src="{{page.live_example_url}}"> | 21 src="{{page.live_example_url}}"> |
22 </iframe> | 22 </iframe> |
23 | 23 |
24 See all [samples](/samples/) | 24 See all [samples](/samples/). |
OLD | NEW |