OLD | NEW |
(Empty) | |
| 1 --- |
| 2 layout: default |
| 3 title: Simple localstorage example |
| 4 live_example_url: example/index.html |
| 5 header: |
| 6 css: ["/samples/samples.css"] |
| 7 --- |
| 8 |
| 9 ## {{ page.title }} |
| 10 |
| 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 |
| 13 in localstorage. The value is then retrieved from localstorage and displayed |
| 14 on the page. |
| 15 |
| 16 Read the |
| 17 [source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/localst
orage/basics). |
| 18 |
| 19 <iframe class="running-app-frame" |
| 20 style="height:400px;width:50%;" |
| 21 src="{{page.live_example_url}}"> |
| 22 </iframe> |
| 23 |
| 24 See all [samples](/samples/) |
OLD | NEW |