Skip to content

Question : is it possible to listen to only one property change? #2

Description

@bdavidxyz

So far, it is possible to listen to "any" change in the localStorage, like this :

document.addEventListener(
    "localDataStorage"
    , nowICanSeeLocalStorageChangeEvents
    , false
);

But is it also possible to listen to a change of one property only ?

document.addEventListener(
    "myKey"
    , myKeyListener
    , false
);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions