Event .on() not working?
fabianogaldino opened this issue · comments
Fabiano Galdino commented
I can't get the .on event to respond to the on change
Ankur K commented
I will debug it, will report it back soon.
These events are for cross tab communication
Ankur K commented
@fabianogaldino
As said in above comment. These events are not regular events, these events are for cross tab communication.
Open this jsfiddle in two tabs and you will notice the events listeners are being fired.
Read more:
https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent