add clear selection method to selection manager

This commit is contained in:
Mads Rasmussen
2023-10-30 18:58:42 +01:00
parent 754d79b0d0
commit bca5bad067

View File

@@ -41,4 +41,8 @@ export class UmbSelectionManager {
public isSelected(unique: string | null) {
return this.getSelection().includes(unique);
}
public clearSelection() {
this.#selection.next([]);
}
}