Skip to content

Commit

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

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

export const stopEventPropagation: (
event: DomEvent.PropagableEvent,
) => LeafletDomEvent = DomEvent.stopPropagation

0 comments on commit 1b7fa77

Please sign in to comment.