()
| 141 | } |
| 142 | |
| 143 | reLimit() { |
| 144 | this.inputWrapper.style.right = 'auto'; |
| 145 | if (this.inputLeft() + this.input.clientWidth > |
| 146 | this.main.elLeft() + this.el.clientWidth) { |
| 147 | this.inputWrapper.style.right = '0'; |
| 148 | } else { |
| 149 | this.inputWrapper.style.right = 'auto'; |
| 150 | } |
| 151 | |
| 152 | this.inputWrapper.style.bottom = 'auto'; |
| 153 | if (this.inputTop() + this.input.clientHeight > |
| 154 | this.main.elTop() + this.el.clientHeight) { |
| 155 | this.inputWrapper.style.bottom = '0'; |
| 156 | } else { |
| 157 | this.inputWrapper.style.bottom = 'auto'; |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | handleMouseDown(event) { |
| 162 | const mainClass = event.target.classList[0]; |
no test coverage detected