mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(object-properties): make object properties look better
This commit is contained in:
19
docs/templates/lib/properties.template.html
vendored
19
docs/templates/lib/properties.template.html
vendored
@@ -1,12 +1,13 @@
|
||||
<@- if doc.properties @>
|
||||
<h2>Properties</h2>
|
||||
<ul class="properties">
|
||||
<@- for property in doc.properties @>
|
||||
<li id="<$ property.name $>">
|
||||
<h3><$ property.name | code $></h3>
|
||||
<code><$ property.returns.description $></code>
|
||||
<$ property.description $>
|
||||
</li>
|
||||
<@ endfor -@>
|
||||
<h2 id="properties">Properties</h2>
|
||||
<@- for property in doc.properties @>
|
||||
|
||||
* <h3><$ typeList(property.returns.typeList) $> <code><$ property.name $></code></h3>
|
||||
|
||||
<$ property.returns.description $>
|
||||
|
||||
<$ property.description $>
|
||||
|
||||
<@ endfor -@>
|
||||
</ul>
|
||||
<@- endif -@>
|
||||
|
||||
Reference in New Issue
Block a user