OLD | NEW |
1 <div class="api_reference"> | 1 <div class="api_reference"> |
2 {{- This is a span not a header-tag so that it doesn't show up in the TOC. -}} | 2 {{- This is a span not a header-tag so that it doesn't show up in the TOC. -}} |
3 <span id="api-reference-header">Reference</span> | 3 <span id="api-reference-header">Reference</span> |
4 {{?api.types}} | 4 {{?api.types}} |
5 <h2 id="types">Types</h2> | 5 <h2 id="types">Types</h2> |
6 {{#t:api.types}} | 6 {{#t:api.types}} |
7 {{+partials.type display_name:t.name type:t/}} | 7 {{+partials.type display_name:t.name type:t/}} |
8 {{/}} | 8 {{/}} |
9 {{/api.types}} | 9 {{/api.types}} |
10 {{?api.properties}} | 10 {{?api.properties}} |
(...skipping 20 matching lines...) Expand all Loading... |
31 Listeners can be added for these events using the standard HTML | 31 Listeners can be added for these events using the standard HTML |
32 <a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.addE
ventListener">addEventListener</a> | 32 <a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.addE
ventListener">addEventListener</a> |
33 API. Listeners receive a custom <code>Event</code> object which can have | 33 API. Listeners receive a custom <code>Event</code> object which can have |
34 additional properties as listed with each event.</dd> | 34 additional properties as listed with each event.</dd> |
35 {{#e:api.domEvents}} | 35 {{#e:api.domEvents}} |
36 {{+partials.dom_event display_name:e.name event:e api:api/}} | 36 {{+partials.dom_event display_name:e.name event:e api:api/}} |
37 {{/api.domEvents}} | 37 {{/api.domEvents}} |
38 {{/api.domEvents}} | 38 {{/api.domEvents}} |
39 </div> | 39 </div> |
40 {{?samples_list}} | 40 {{?samples_list}} |
41 <h2 id="samples">Sample {{title}} that use chrome.{{api.name}}</h2> | 41 <h2 id="samples">Sample {{platformTitle}} that use {{api.namespace}}</h2> |
42 <ul> | 42 <ul> |
43 {{#sample:samples_list}} | 43 {{#sample:samples_list}} |
44 <li><strong><a href="samples.html#{{sample.id}}">{{sample.name}}</a></strong
> | 44 <li><strong><a href="samples.html#{{sample.id}}">{{sample.name}}</a></strong
> |
45 {{?sample.description}} | 45 {{?sample.description}} |
46 – {{sample.description}} | 46 – {{sample.description}} |
47 {{/sample.description}}</li> | 47 {{/sample.description}}</li> |
48 {{/samples_list}} | 48 {{/samples_list}} |
49 </ul> | 49 </ul> |
50 {{/samples_list}} | 50 {{/samples_list}} |
OLD | NEW |