3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
14 <title>polymer-localstorage
</title>
16 <script src=
"../webcomponentsjs/webcomponents.js"></script>
18 <link rel=
"import" href=
"core-localstorage.html">
25 <polymer-element name=
"x-test1" noscript
>
27 string entered below will be stored in localStorage and automatically retrived from localStorage when the page is reloaded
<br>
28 <input value=
"{{value}}">
29 <core-localstorage name=
"polymer-localstorage-x-test1" value=
"{{value}}"></core-localstorage>
37 <polymer-element name=
"x-test2">
39 <input type=
"checkbox" checked=
"{{mode}}">
40 <core-localstorage name=
"polymer-localstorage-x-test2" value=
"{{mode}}"></core-localstorage>