---
layout: api
title: "v3.0.0 JavaScript Library: L.DomEvent"
categories: api
version: v3.0.0
permalink: /api/v3.0.0/l-domevent/
---
<h2 id="domevent">DomEvent</h2>

<p>Utility functions to work with the DOM events, used by Leaflet internally.</p>

<h3>Methods</h3>

<table data-id='domevent'>
	<tr>
<th>Method</th>
<th>Returns</th>
<th>Description</th>
	</tr>
	<tr>
<td><code><b>addListener</b>(
<nobr>&lt;HTMLElement&gt; <i>el</i></nobr>,
<nobr>&lt;String&gt; <i>type</i></nobr>,
<nobr>&lt;Fun