(el: Element, name: string, width = 40, height = 40)
| 72 | } |
| 73 | |
| 74 | protected renderIcon(el: Element, name: string, width = 40, height = 40) { |
| 75 | el.classList.add("key--icon"); |
| 76 | el.innerHTML = `<img src="${server}/images/${name}.svg" alt="${name}" |
| 77 | style="width: ${width}px; height: ${height}px">` |
| 78 | } |
| 79 | |
| 80 | funcButtonLeft(): FuncButton { |
| 81 | return { |