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>
12 {{+partials.api_property api:api property:p/}}
16 <h2 id=
"methods">Methods
</h2>
18 {{+partials.function function:f api:api parentName:false/}}
22 <h2 id=
"events">Events
</h2>
24 {{+partials.event event:e api:api/}}
28 <h2 id=
"dom_events">DOM Events
</h2>
30 Listeners can be added for these events using the standard HTML
31 <a href=
"https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.addEventListener">addEventListener
</a>
32 API. Listeners receive a custom
<code>Event
</code> object which can have
33 additional properties as listed with each event.
</dd>
35 {{+partials.dom_event display_name:e.name event:e api:api/}}
40 <h2 id=
"samples">Sample {{platformTitle}}
</h2>
42 {{#sample:samples_list}}
43 <li><strong><a href=
"samples.html#{{sample.id}}">{{sample.name}}
</a></strong>
44 {{?sample.description}}
45 – {{sample.description}}
46 {{/sample.description}}
</li>