Skip to content

Commit c31cf68

Browse files
committed
📚 Add comment (#1925)
1 parent 5bf87ac commit c31cf68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/actions/handle_dropdown.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { browser } from '$app/environment';
44
const activeDropdownId: Writable<string | null> = writable<string | null>(null);
55

66
const dropdownContext = {
7+
// Reference to the element that triggered the dropdown.
78
lastTriggerElement: null as HTMLElement | null,
89
// Bounce timer for resizing event.
910
resizeTimeout: undefined as ReturnType<typeof setTimeout> | undefined,

0 commit comments

Comments
 (0)