bigint-crypto-utils/node_modules/dmd/partials/all-docs/docs/body/properties/properties-table-html.hbs

21 lines
650 B
Handlebars

{{#if properties~}}**Properties**
<table>
<thead>
<tr>
{{#each (tableHeadHtml properties "name|Name" "type|Type" "defaultvalue|Default" "description|Description")}}<th>{{this}}</th>{{/each}}
</tr>
</thead>
<tbody>
{{#tableRow properties "name" "type" "defaultvalue" "description" ~}}
<tr>
{{#if @col1}}<td>{{>param-table-name}}</td>{{/if~}}
{{#if @col2}}<td>{{>linked-type-list types=type.names delimiter=" | " html=true}}</td>{{/if~}}
{{#if @col3}}<td>{{>defaultvalue}}</td>{{/if~}}
{{#if @col4}}<td>{{{md (inlineLinks description)}}}</td>{{/if}}
</tr>
{{~/tableRow}}
</tbody>
</table>
{{/if}}