1 <div class="api-reference">
2 {{- This is a span not a header-tag so that it doesn't show up in the TOC. -}}
4 <h2 id="types">Types</h2>
6 {{+partials.type display_name:t.name type:t/}}
10 <h2 id="properties">Properties</h2>
13 {{+partials.api_property api:api property:p/}}
18 <h2 id="methods">Methods</h2>
20 {{+partials.function function:f api:api parentName:false/}}
24 <h2 id="events">Events</h2>
26 {{+partials.event event:e api:api/}}
30 <h2 id="dom_events">DOM Events</h2>
32 Listeners can be added for these events using the standard HTML
33 <a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.addEventListener">addEventListener</a>
34 API. Listeners receive a custom <code>Event</code> object which can have
35 additional properties as listed with each event.</dd>
37 {{+partials.dom_event display_name:e.name event:e api:api/}}
42 <h2 id="samples">Sample {{platformTitle}}</h2>
44 {{#sample:samples_list}}
45 <li><strong><a href="samples.html#{{sample.id}}">{{sample.name}}</a></strong>
46 {{?sample.description}}
47 – {{sample.description}}
48 {{/sample.description}}</li>