We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0c96f7 commit a6ad5fbCopy full SHA for a6ad5fb
src/events.js
@@ -9,6 +9,8 @@ export function bindEvents(){
9
this.DOM[elm].addEventListener(event, cb.bind(this), {pasive:false})
10
)
11
12
+ // bind storage event listener because all color pickers are connected,
13
+ // so if one save or remove a color the change will reflect in all others
14
window.addEventListener('storage', onStorage.bind(this))
15
16
// assuming picker uses as a popup
0 commit comments