PolymerElements / app-storage

Data-pipes and specialized services
61 stars 47 forks source link

How to use zeroValue function to initialize the default value? #117

Open amanshu-kataria opened 7 years ago

amanshu-kataria commented 7 years ago

I used iron-localstorage earlier, but since it has been deprecated I thought of using app-localstorage-document. I want to initialize the default value when the key is first created. In iron-localstorage I used on-iron-localstorage-load-empty event to initialize the default value. But nothing similar thing is available here.

mlabarre commented 6 years ago

Have you a response ? I'm in the same case...