build(aio): indicate whether properties are read-only in API pages (#22584)
PR Close #22584
This commit is contained in:

committed by
Alex Eagle

parent
5bb9f64218
commit
58932c7f38
@ -134,6 +134,7 @@
|
||||
<td><a id="{$ property.anchor $}"></a>{$ property.name $}</td>
|
||||
<td><label class="property-type-label"><code>{$ property.type | escape $}</code></label></td>
|
||||
<td>
|
||||
{%- if (property.isGetAccessor or property.isReadonly) and not property.isSetAccessor %}<span class='read-only-property'>Read-only.</span>{% endif %}
|
||||
{$ (property.description or property.constructorParamDoc.description) | marked $}
|
||||
{% if property.constructorParamDoc %} <span class='from-constructor'>Declared in constructor.</span>{% endif %}
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user