mirror of
https://forge.murkfall.net/bluesaxman/librePECS.git
synced 2026-03-13 10:14:20 -06:00
added the html object we made before to be an actual part of the pec object
This commit is contained in:
@@ -16,6 +16,7 @@ class pec {
|
|||||||
name.classList.add("pecNane");
|
name.classList.add("pecNane");
|
||||||
root.appendChild(name);
|
root.appendChild(name);
|
||||||
root.addEventListener("click",()=>{ window.speechSynthisis.speak(me.utterance); });
|
root.addEventListener("click",()=>{ window.speechSynthisis.speak(me.utterance); });
|
||||||
|
this.DOM = root;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user