(cfi: string)
| 132 | |
| 133 | annotationRange?: Range |
| 134 | setAnnotationRange(cfi: string) { |
| 135 | const range = this.view?.contents.range(cfi) |
| 136 | if (range) this.annotationRange = ref(range) |
| 137 | } |
| 138 | |
| 139 | define(def: string[]) { |
| 140 | this.updateBook({ definitions: [...this.book.definitions, ...def] }) |
no test coverage detected