mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
[Leaflet] Optional context argument in L.DomEvent.removeListener
This commit is contained in:
Vendored
+1
-1
@@ -574,7 +574,7 @@ declare module L {
|
||||
/**
|
||||
* Removes an event listener from the element.
|
||||
*/
|
||||
static removeListener(el: HTMLElement, type: string, fn: (e: Event) => void): DomEvent;
|
||||
static removeListener(el: HTMLElement, type: string, fn: (e: Event) => void, context?: any): DomEvent;
|
||||
|
||||
/**
|
||||
* Stop the given event from propagation to parent elements. Used inside the
|
||||
|
||||
Reference in New Issue
Block a user