Blame view

bower_components/iron-localstorage/README.md 441 Bytes
c5169e0e   Renato De Donato   a new hope
1
2
  iron-localstorage
  =================
73bcce88   luigser   COMPONENTS
3
  
c5169e0e   Renato De Donato   a new hope
4
5
  Element access to localStorage.  The "name" property
  is the key to the data ("value" property) stored in localStorage.
73bcce88   luigser   COMPONENTS
6
  
c5169e0e   Renato De Donato   a new hope
7
8
9
  `iron-localstorage` automatically saves the value to localStorage when
  value is changed.  Note that if value is an object auto-save will be
  triggered only when value is a different instance.
73bcce88   luigser   COMPONENTS
10
  
c5169e0e   Renato De Donato   a new hope
11
12
13
  ```html
  <iron-localstorage name="my-app-storage" value="{{value}}"></iron-localstorage>
  ```