- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / docs / templates / private / event.html
1 <div>
2   <h4 id="{{id}}">{{name}}</h4>
3   <div class="description">
4     {{?description}}<p>
5       {{{description}}}
6     </p>{{/description}}
7     {{?supportsRules}}
8     <p>Provides the <a href="events.html#declarative">Declarative Event API</a>
9     consisting of $ref:[events.Event.addRules addRules],
10     $ref:[events.Event.removeRules removeRules], and $ref:[events.Event.getRules
11     getRules].</p>
12     <div class="summary">
13       {{+partials.function_signature function:byName.addRules
14                                      parentName:name
15                                      api:api}}
16       {{+partials.function_signature function:byName.removeRules
17                                      parentName:name
18                                      api:api}}
19       {{+partials.function_signature function:byName.getRules
20                                      parentName:name
21                                      api:api}}
22     </div>
23     {{?conditions}}
24       <h4>Supported conditions</h4>
25       <ul>
26         {{#conditions}}<div><li>{{+partials.ref_link}}</li></div>{{/}}
27       </ul>
28     {{/conditions}}
29     {{?actions}}
30       <h4>Supported actions</h4>
31       <ul>
32         {{#actions}}<div><li>{{+partials.ref_link}}</li></div>{{/}}
33       </ul>
34     {{/actions}}
35     {{/supportsRules}}
36     {{?filters}}
37       <h4>Filters</h4>
38       <dl>
39         {{#filters}}{{+partials.parameter_full}}{{/}}
40       </dl>
41     {{/filters}}
42     {{?supportsListeners}}
43       {{+partials.function @:byName.addListener
44                            parentName:name
45                            api:api
46                            parentId:id}}
47     {{/supportsListeners}}
48   </div>
49 </div>