-
Notifications
You must be signed in to change notification settings - Fork 211
/
events.handlebars
35 lines (34 loc) · 1.22 KB
/
events.handlebars
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<a name="events_{{name}}"></a>
<div class="events item">
`{{name}}` {{#if type}}<strong><{{#crossLink type}}{{/crossLink}}></strong>{{/if}}
{{#if extended_from}}<em>`/* Extended from {{extended_from}} */</em>`{{/if}}
{{#if overwritten_from}}<em>`/* Overwritten from {{name}} */`</em>{{/if}}
<br>
<span class="foundat"><a href="{{foundAt}}">`{{file}}:{{line}}`</a></span>
{{{eventDescription}}}
{{#if params}}
<strong>Extra event object properties:</strong>
<ul>
{{#params}}
<li>
{{#if optional}}
`[{{name}}{{#if optdefault}}={{optdefault}}{{/if}}]` <strong><{{#crossLink type}}{{/crossLink}}></strong>
{{else}}
`{{name}}` <strong><{{#crossLink type}}{{/crossLink}}></strong>
{{/if}}
{{#if multiple}}
<abbr title="Denotes that this argument can contain (n) number">(*..n)</abbr>
{{/if}}
{{{description}}}
{{#if props}}
<ul>
{{#props}}
<li>`{{name}}` <strong><{{#crossLink type}}{{/crossLink}}></strong> {{{description}}}
{{/props}}
</ul>
{{/if}}
</li>
{{/params}}
</ul>
{{/if}}
</div>