(state)
| 93 | } |
| 94 | |
| 95 | setFontIsItalic(state) { |
| 96 | this.isItalic = state; |
| 97 | if (state) { |
| 98 | this.input.style['font-style'] = 'italic'; |
| 99 | } else { |
| 100 | this.input.style['font-style'] = 'normal'; |
| 101 | } |
| 102 | if (this.active) { |
| 103 | this.input.focus(); |
| 104 | this.reLimit(); |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | setFontSize(size) { |
| 109 | this.fontSize = size; |
no test coverage detected