Skip to content

Commit 1b7fa77

Browse files
committed
stopEventPropagation implementation
1 parent 5fd7630 commit 1b7fa77

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/dom/event/stop-propagation.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { DomEvent } from 'leaflet'
2+
3+
import { type LeafletDomEvent } from '@stassi/leaf'
4+
5+
export const stopEventPropagation: (
6+
event: DomEvent.PropagableEvent,
7+
) => LeafletDomEvent = DomEvent.stopPropagation

0 commit comments

Comments
 (0)