How do I trigger a function when a localstorage variable changes?

后端 未结 0 570
一整个雨季
一整个雨季 2020-12-13 07:13

So lets say I have

localStorage.setItem(\'sampleitem\',\'valueone\');

If a different script changed \'sampleitem\' to a different value, how

相关标签:
回答
  • 消灭零回复
提交回复
热议问题