Add methods for clearing selections

This commit is contained in:
John Factotum authored and GitHub committed 2023-03-08 11:02:17 +00:00
1 parent ac4e3962df
commit 1fef33731f
2 files changed
+7

No files matched your search

+3
View File
@@ -280,6 +280,9 @@ export class View {
console.error(`Could not go to ${target}`)
}
}
deselect() {
return this.renderer?.deselect()
}
async getTOCItemOf(target) {
try {
const { index, anchor } = await this.resolveNavigation(target)