summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/templates/private/callback.html
blob: 51a75acc989700955cecfce563ba9924ee2a4d30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{{#callback}}
  <p>
  {{?optional}}
      If you specify the <em>{{name}}</em> parameter, it should
      be a function that looks like this:
  {{:optional}}
      The <em>{{name}}</em> parameter should be a function
      that looks like this:
  {{/optional}}
  </p>
<code class="prettyprint">function({{#p:parameters}}{{+partials.variable_type type:p/}} {{p.name}}{{^p.last}}, {{/}}{{/}}) <span class="subdued">{...}</span>;</code>
{{?description}}
<p>
  {{{description}}}
</p>
{{/description}}
{{?parameters}}
  <table class="innerTable">
  {{#p:parameters}}
    {{+partials.parameter_full parameter:p parentName:name hideParamTOC:true /}}
  {{/parameters}}
  </table>
{{/parameters}}
{{/callback}}