strong type for selected
in nav items
This commit is contained in:
parent
5198725153
commit
0a20db91ac
@ -3,6 +3,7 @@
|
||||
|
||||
export let destination: Pane;
|
||||
|
||||
let selected: boolean;
|
||||
$: selected = destination === $pane;
|
||||
|
||||
function handleKey({ key }: KeyboardEvent) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user