()
| 37 | } |
| 38 | |
| 39 | constructor() { |
| 40 | super(getQuickAddInstance().app); |
| 41 | |
| 42 | this.open(); |
| 43 | this.display(); |
| 44 | |
| 45 | this.waitForClose = new Promise<string>((resolve, reject) => { |
| 46 | this.resolvePromise = resolve; |
| 47 | this.rejectPromise = reject; |
| 48 | }); |
| 49 | |
| 50 | new LaTeXSuggester(this.inputEl); |
| 51 | |
| 52 | this.inputEl.focus(); |
| 53 | this.inputEl.select(); |
| 54 | } |
| 55 | |
| 56 | private display() { |
| 57 | this.containerEl.addClass("quickAddModal", "qaMathModal"); |
nothing calls this directly
no test coverage detected