()
| 1205 | } |
| 1206 | |
| 1207 | removeEventHandlers() { |
| 1208 | if (!this.listenersInstalled) { |
| 1209 | return; |
| 1210 | } |
| 1211 | Object.keys(this.documentHandlers).forEach((key) => { |
| 1212 | this.doc.removeEventListener(key, this.documentHandlers[key]); |
| 1213 | }); |
| 1214 | Object.keys(this.windowHandlers).forEach((key) => { |
| 1215 | window.removeEventListener(key, this.windowHandlers[key]); |
| 1216 | }); |
| 1217 | |
| 1218 | this.listenersInstalled = false; |
| 1219 | } |
| 1220 | |
| 1221 | elLeft() { |
| 1222 | return this.toolContainer.documentOffsetLeft + this.scroller.scrollLeft; |
no test coverage detected