paper.js/build/jsdoc-toolkit/templates/jsdoc/parameters.tmpl
2011-05-27 18:27:01 +02:00

12 lines
No EOL
440 B
Cheetah

<if test="data.params.length">
<ul><b>Parameters:</b>
<for each="parameter" in="data.params">
<li>
<tt>{+ parameter.name +}: </tt>
{+ new Link().toSymbol(parameter.type) +}
<if test="parameter.desc">&mdash;&nbsp;{+processInlineTags(parameter.desc, {stripParagraphs: true})+}</if>
<if test="parameter.defaultValue">&mdash;&nbsp;optional, default: <tt>{+parameter.defaultValue+}</tt></if>
</li>
</for>
</ul>
</if>