Sha256: a179abd92053faa37db9b6593dc6a24d7ac9d913178172d07cb71ef701979696

Contents?: true

Size: 1.33 KB

Versions: 6

Compression:

Stored size: 1.33 KB

Contents

<!doctype html>
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<html>
<head>

  <title>iron-localstorage</title>

  <script src="../../webcomponentsjs/webcomponents-lite.js"></script>

  <link rel="import" href="../iron-localstorage.html">

</head>
<body>

  <template is="dom-bind">
    <p>string entered below will be stored in localStorage and automatically retrived from localStorage when the page is reloaded</p>
    <p>If you open another window with this test, changes in one window will propagate to
    the other immediately.</p>
    <input value="{{value::change}}">
    <iron-localstorage name="polymer-localstorage-x-test1" value="{{value}}"></iron-localstorage>
  </template>


  <template is="dom-bind">
    <input type="checkbox" checked="{{mode::change}}">
    <iron-localstorage name="polymer-localstorage-x-test2" value="{{mode}}"></iron-localstorage>
  </template>

</body>
</html>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
polymer-elements-rails-1.0.1 app/assets/components/iron-localstorage/demo/index.html
polymer-elements-rails-1.0.0 app/assets/components/iron-localstorage/demo/index.html
polymer-elements-rails-1.0.0.pre.rc.1 app/assets/components/iron-localstorage/demo/index.html
polymer-iron-rails-1.0.0.pre.rc.3 app/assets/components/iron-localstorage/demo/index.html
polymer-iron-rails-1.0.0.pre.rc.2 app/assets/components/iron-localstorage/demo/index.html
polymer-iron-rails-1.0.0.pre.rc.1 app/assets/components/iron-localstorage/demo/index.html