Open jeffposnick opened 9 years ago
It might be useful if developers could add one or more children elements to <polymer-idb> and use them for two-way data binding with IDB. So something like:
<polymer-idb>
<polymer-idb database="sample" version="1" object-store="bookmark" key-path="url"> <polymer-idb-entry key="key1" value="{{value1}}"></polymer-idb-entry> <polymer-idb-entry key="key2" value="{{value2}}"></polymer-idb-entry> </polymer-idb>
Something like that might feel more natural for Polymer developers than calling get() and put() on the <polymer-idb> element.
get()
put()
This is an interesting idea. Let me think about the design. Thanks for your feedback!
It might be useful if developers could add one or more children elements to
<polymer-idb>
and use them for two-way data binding with IDB. So something like:Something like that might feel more natural for Polymer developers than calling
get()
andput()
on the<polymer-idb>
element.