[Leaflet] Optional context argument in L.DomEvent.removeListener

This commit is contained in:
Antoine Pultier
2014-08-07 10:42:05 +02:00
parent 1cbee878f7
commit 54d719d86e
+1 -1
View File
@@ -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