Skip to content

someUniqueSessionKey in README/docs, but not in example #114

@davidmaxwaterman

Description

@davidmaxwaterman

https://www.webcomponents.org/element/PolymerElements/app-storage

and

https://github.com/PolymerElements/app-storage/blob/master/README.md

have text:

<app-indexeddb-mirror
    session="a-unique-session-key-413"
    key="cats"
    data="{{liveData}}"
    persisted-data="{{persistedData}}">
</app-indexeddb-mirror>
When someUniqueSessionKey changes to a different value, app-indexeddb-mirror will delete the local data it is persisting at the "cats" key.

The text someUniqueSessionKey seems to refer to some property/attribute in the example, but that text doesn't appear in the example at all. I might assume it is a-unique-session-key-413, but that isn't clear at all.

Please consider using a binding for the session property too, eg:

  session="[[someUniqueSessionKey]]``

if that is indeed how it is intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions