Open
Description
aframe-super-keyboard: v2.0.2
Similar issue happens with aframe-super-keyboard default examples
Why this code is being used?
document.addEventListener('keydown', function (ev) {
if (ev.key === 't') {
var ss = '';
var s = 'abcdefghijklmopqrstuvQWIEUTGASDLIGKBXACQWETL102394676457';
var l = Math.floor(Math.random() * 20);
for (var i = 0; i < l; i++) ss += s[Math.floor(Math.random() * s.length)];
self.el.setAttribute('super-keyboard', {value: ss});
}
});
Metadata
Metadata
Assignees
Labels
No labels