Home | History | Annotate | Download | only in private
      1 {{#event}}
      2 <div>
      3   <h3 id="{{id}}">{{name}}</h3>
      4   <div class="description">
      5     {{?availability}}
      6     <p class="availability">
      7       {{+availability.partial content:availability item:event/}}
      8     </p>
      9     {{/availability}}
     10     {{?description}}<p>
     11       {{{description}}}
     12     </p>{{/description}}
     13     {{?supportsRules}}
     14     <p>Provides the <a href="events#declarative">Declarative Event API</a>
     15     consisting of $(ref:events.Event.addRules addRules),
     16     $(ref:events.Event.removeRules removeRules), and
     17     $(ref:events.Event.addRules getRules).</p>
     18     <div class="summary">
     19       {{+partials.function_signature function:byName.addRules
     20                                      parentName:name
     21                                      api:api/}}
     22       {{+partials.function_signature function:byName.removeRules
     23                                      parentName:name
     24                                      api:api/}}
     25       {{+partials.function_signature function:byName.getRules
     26                                      parentName:name
     27                                      api:api/}}
     28     </div>
     29     {{?conditions}}
     30       <h4 title="">Supported conditions</h4>
     31       <ul>
     32         {{#c:conditions}}<div><li>{{+partials.ref_link link:c/}}</li></div>{{/}}
     33       </ul>
     34     {{/conditions}}
     35     {{?actions}}
     36       <h4 title="">Supported actions</h4>
     37       <ul>
     38         {{#a:actions}}<div><li>{{+partials.ref_link link:a/}}</li></div>{{/}}
     39       </ul>
     40     {{/actions}}
     41     {{/supportsRules}}
     42     {{?filters}}
     43       <h4 title="">Filters</h4>
     44       <dl>
     45         {{#f:filters +partials.parameter_full parameter:f
     46                                               parentName:name
     47                                               hideParamTOC:true /}}
     48       </dl>
     49     {{/filters}}
     50     {{?supportsListeners}}
     51       {{+partials.function function:byName.addListener
     52                            parentName:name
     53                            api:api
     54                            hideParamTOC:true /}}
     55     {{/supportsListeners}}
     56   </div>
     57 </div>
     58 {{/event}}
     59