Skip to content

Commit

Permalink
design_comments_kyl
Browse files Browse the repository at this point in the history
  • Loading branch information
neodigm committed Aug 23, 2024
1 parent 697303f commit 62cca4f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dist/neodigm55__v3_5.js
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,8 @@ class NeodigmWired4Sound {
}
init () {
["click", "mouseover"].forEach(( evName ) => {
this._d.querySelector( this._aQ[0] ).addEventListener(evName, ( ev )=>{
//this._d.querySelector( this._aQ[0] ).addEventListener(evName, ( ev )=>{
NeodigmKeylime.subscribe( evName, ( ev )=>{
let sAtr = "n55Wired4sound" + neodigmUtils.capFirst( evName ).replace("Mouseover","Hover") // hover convention
let evAtr = neodigmUtils.walkDOM3( ev?.target, sAtr )
let evTheme = neodigmUtils.walkDOM3( ev?.target, "n55Theme" )
Expand All @@ -787,7 +788,7 @@ class NeodigmWired4Sound {
neodigmWired4Sound.vibrate()
}else{ neodigmWired4Sound.sound( evAtr ) }
}
}, false);
}, false, this._d.querySelector( this._aQ[0] ));
})
this.bIsInit = true; return this
}
Expand Down

0 comments on commit 62cca4f

Please sign in to comment.