build(aio): fix rendering of callable and constructable interface members (#22428)

Closes #22136

PR Close #22428
This commit is contained in:
Pete Bacon Darwin 2018-02-24 12:07:53 +00:00 committed by Alex Eagle
parent 5a32d7e36f
commit 1f599818bd
1 changed files with 6 additions and 1 deletions

View File

@ -60,7 +60,12 @@
{%- macro renderMethodDetail(method, cssClass) -%} {%- macro renderMethodDetail(method, cssClass) -%}
<a id="{$ method.anchor $}"></a> <a id="{$ method.anchor $}"></a>
<table class="is-full-width method-table {$ cssClass $}"> <table class="is-full-width method-table {$ cssClass $}">
<thead><tr><th><h3>{$ method.name $}()</h3></th></tr></thead> <thead><tr><th><h3>
{% if method.isCallMember %}<i>call signature</i>
{% elseif method.isNewMember %}<i>construct signature</i>
{% else %}{$ method.name $}()
{% endif %}
</h3></th></tr></thead>
<tbody> <tbody>
<tr> <tr>
<td> <td>