Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / common / extensions / docs / templates / private / event.html
blobedf20b85deb74a3eaa6e8922a88e226989d2268b
1 {{#event}}
2 <div>
3 <h3 id="{{id}}">{{name}}</h3>
4 {{+partials.warning_deprecated item:event/}}
5 <div class="description">
6 {{?description}}<p>
7 {{{description}}}
8 </p>{{/description}}
9 {{?supportsRules}}
10 <p>Provides the <a href="events.html#declarative">Declarative Event API</a>
11 consisting of $ref:[events.Event.addRules addRules],
12 $ref:[events.Event.removeRules removeRules], and $ref:[events.Event.getRules
13 getRules].</p>
14 <div class="summary">
15 {{+partials.function_signature function:byName.addRules
16 parentName:name
17 api:api/}}
18 {{+partials.function_signature function:byName.removeRules
19 parentName:name
20 api:api/}}
21 {{+partials.function_signature function:byName.getRules
22 parentName:name
23 api:api/}}
24 </div>
25 {{?conditions}}
26 <h4 title="">Supported conditions</h4>
27 <ul>
28 {{#c:conditions}}<div><li>{{+partials.ref_link link:c/}}</li></div>{{/}}
29 </ul>
30 {{/conditions}}
31 {{?actions}}
32 <h4 title="">Supported actions</h4>
33 <ul>
34 {{#a:actions}}<div><li>{{+partials.ref_link link:a/}}</li></div>{{/}}
35 </ul>
36 {{/actions}}
37 {{/supportsRules}}
38 {{?filters}}
39 <h4 title="">Filters</h4>
40 <dl>
41 {{#f:filters +partials.parameter_full parameter:f
42 parentName:name
43 hideParamTOC:true /}}
44 </dl>
45 {{/filters}}
46 {{?supportsListeners}}
47 {{+partials.function function:byName.addListener
48 parentName:name
49 api:api
50 hideParamTOC:true /}}
51 {{/supportsListeners}}
52 </div>
53 </div>
54 {{/event}}