build(aio): fix rendering of callable and constructable interface members (#22428)
Closes #22136 PR Close #22428
This commit is contained in:
parent
5a32d7e36f
commit
1f599818bd
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue