mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
[Leaflet] Optional context argument in L.DomEvent.removeListener
This commit is contained in:
1 parent
1cbee878f7
commit
54d719d86e
1 file changed
+1
-1
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