diff --git a/src/lib/actions/clickOutside.ts b/src/lib/actions/clickOutside.ts new file mode 100644 index 0000000..26ffbce --- /dev/null +++ b/src/lib/actions/clickOutside.ts @@ -0,0 +1,94 @@ +/** + * Svelte action that dispatches a 'clickoutside' event when the user clicks outside the element. + * + * @example + * ```svelte + *