Adds a listener fn to the element's DOM event of the specified type. this keyword
inside the listener will point to context, or to the element if not specified.
Prevents the default action of the event from happening (such as following
a link in the href of the a element, or doing a POST request with page reload
when form is submitted). Use it inside listener functions.
Stop the given event from propagation to parent elements. Used inside the
listener functions:
L.DomEvent.addListener(div, 'click', function
(e) {
L.DomEvent.stopPropagation(e);
});
Adds a listener fn to the element's DOM event of the specified type. this keyword inside the listener will point to context, or to the element if not specified.