Adding new option: useButtonTag

This commit is contained in:
Francisco Hodge
2018-12-14 00:28:18 -05:00
parent d03f00c0d1
commit 4335f477a1
12 changed files with 39 additions and 18 deletions
+3 -1
View File
@@ -137,7 +137,9 @@ it('Keyboard onKeyPress will work', () => {
it('Keyboard standard function buttons will not change input', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
let keyboard = new Keyboard({
useButtonTag: true
});
testUtil.iterateButtons((button) => {
if(button.getAttribute("data-skbtn") === "{shift}"){