StorageEvent: key property

The key property of the StorageEvent interface returns the key for the storage item that was changed.

Value

A string containing the key for the storage item that was changed.

Specifications

Specification
HTML Standard
# dom-storageevent-key-dev

Browser compatibility

desktopmobileserver
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
Deno
key

See also