paper.js/build/jsdoc-toolkit/templates/jsdoc/parameters.tmpl

12 lines
477 B
Cheetah
Raw Normal View History

<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) +}
2011-05-27 12:27:01 -04:00
<if test="parameter.desc">&mdash;&nbsp;{+processInlineTags(parameter.desc, {stripParagraphs: true})+}</if>
<if test="parameter.isOptional">&mdash;&nbsp;optional</if><if test="parameter.defaultValue">, default: <tt>{+parameter.defaultValue+}</tt></if>
</li>
</for>
</ul>
</if>