Skip to content

Commit

Permalink
preventEventDefault implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Stassi committed Nov 25, 2024
1 parent e298139 commit 4c848d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/dom/event/prevent-default.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { DomEvent } from 'leaflet'

import { type LeafletDomEvent } from '@stassi/leaf'

export const preventEventDefault: (event: Event) => LeafletDomEvent =
DomEvent.preventDefault

0 comments on commit 4c848d8

Please sign in to comment.