Cleanup L.DomUtil docs (see #3098).
This commit is contained in:
parent
b64655535a
commit
fdddb648e8
@ -5249,17 +5249,19 @@ Popups will also be automatically opened when the layer is clicked on and closed
|
||||
<td><code><b>off</b>(
|
||||
<nobr><HTMLElement> <i>el</i></nobr>,
|
||||
<nobr><String> <i>types</i></nobr>,
|
||||
<nobr><Function> <i>fn</i> )</nobr>
|
||||
<nobr><Function> <i>fn</i></nobr>,
|
||||
<nobr><Object> <i>context?</i> )</nobr>
|
||||
</code></td>
|
||||
|
||||
<td><code><span class="keyword">this</span></code></td>
|
||||
<td>Removes the event listener <code>fn</code> from the element, for the DOM event types in <code>types</code> (a space-separated list). <i>fn</i> must be equal to the function currently listening to the event for it to be removed.</td>
|
||||
<td>Removes the event listener <code>fn</code> from the element, for the DOM event types in <code>types</code> (a space-separated list). Both <code>fn</code> and <code>context</code> must be equal to the function and context used previously on a <a href="#domevent-on">L.DomEvent.on</a> call.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code><b>removeListener</b>(
|
||||
<nobr><HTMLElement> <i>el</i></nobr>,
|
||||
<nobr><String> <i>types</i></nobr>,
|
||||
<nobr><Function> <i>fn</i> )</nobr>
|
||||
<nobr><Function> <i>fn</i></nobr>,
|
||||
<nobr><Object> <i>context?</i> )</nobr>
|
||||
</code></td>
|
||||
|
||||
<td><code><span class="keyword">this</span></code></td>
|
||||
|
Loading…
Reference in New Issue
Block a user