<section>
    <h3 id="constructor">Constructor</h3>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <code>{{{functionSignature constructor}}}</code>
                    </td>
                </tr>
                {{#if constructor.line}}
                    {{#unless disableSourceCode}}
                        <tr>
                            <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="{{{constructor.line}}}" class="link-to-prism">{{file}}:{{{constructor.line}}}</a></div>
                            </td>
                        </tr>
                    {{/unless}}
                {{/if}}

                {{#or constructor.jsdoctags}}
                <tr>
                    <td class="col-md-4">
                        {{#if constructor.description}}
                            <div class="io-description">{{{parseDescription constructor.description ./depth}}}</div>
                        {{/if}}
                        {{#if constructor.jsdoctags}}
                            {{#jsdoc-params-valid constructor.jsdoctags}}
                            <div>
                                {{#jsdoc-params constructor.jsdoctags}}
                                    <b>Parameters :</b>
                                    <table class="params">
                                        <thead>
                                            <tr>
                                                <td>Name</td>
                                                <td>Type</td>
                                                <td>Optional</td>
                                                <td>Description</td>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            {{#each tags}}
                                                <tr>
                                                  <td>{{name}}</td>
                                                  <td>
                                                      {{#if type}}
                                                        {{> link-type type=type }}
                                                      {{/if}}
                                                  </td>
                                                  <td>
                                                      {{#if optional}}
                                                          true
                                                      {{/if}}
                                                  </td>
                                                  <td>{{{comment}}}</td>
                                                </tr>
                                            {{/each}}
                                        </tbody>
                                    </table>
                                {{/jsdoc-params}}
                                {{#jsdoc-example constructor.jsdoctags}}
                                    <b>Example :</b>
                                    {{#each tags}}
                                        <div>
                                            {{{comment}}}
                                        </div>
                                    {{/each}}
                                {{/jsdoc-example}}
                            </div>
                            {{/jsdoc-params-valid}}
                        {{/if}}
                    </td>
                </tr>
                {{/or}}
            </tbody>
        </table>
</section>
