Skip to content

Add watch method to listen window.onstorage if storage is LocalStorage #2

@VitorLuizC

Description

@VitorLuizC

Add .listen(callback) method to listen window.onstorage event. It'll only work if storage is the localStorage, so this method can check when called and throw an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions