Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #28 from jeffposnick/master
Browse files Browse the repository at this point in the history
Reformatted the type info displayed for method and event parameters
  • Loading branch information
ebidel committed Sep 30, 2014
2 parents edcdf00 + 199ac26 commit ef90aad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions elements/core-doc-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h3 id="{{data.name}}.attributes">Attributes</h3>
</div>
<div class="details-info" flex three>
<p layout horizontal center justified>
<code>{{attribute.type}}</code><span class="default" hidden?="{{!attribute.default}}">default: <code>{{attribute.default}}</code></span>
<code>&lt;<em>{{attribute.type}}</em>&gt;</code><span class="default" hidden?="{{!attribute.default}}">default: <code>{{attribute.default}}</code></span>
</p>
<marked-element text="{{attribute.description}}"></marked-element>
</div>
Expand All @@ -84,7 +84,7 @@ <h3 id="{{data.name}}.properties">Properties</h3>
</div>
<div class="details-info" flex three>
<p layout horizontal center justified>
<code>{{property.type}}</code><span class="default" hidden?="{{!property.default}}">default: <code>{{property.default}}</code></span>
<code>&lt;<em>{{property.type}}</em>&gt;</code><span class="default" hidden?="{{!property.default}}">default: <code>{{property.default}}</code></span>
</p>
<marked-element text="{{property.description}}"></marked-element>
</div>
Expand All @@ -107,7 +107,7 @@ <h3 id="{{data.name}}.events">Events</h3>
<div class="params">
<p>Event details:</p>
<template repeat="{{param in event.params}}">
<p><code>{{param.name}}</code><span> <code>( {{param.type}} )</code></span></p>
<p><code>&lt;<em>{{param.type}}</em>&gt; {{param.name}}</code></p>
<p><span>{{param.description}}</span></p>
</template>
</div>
Expand All @@ -132,7 +132,7 @@ <h3 id="{{data.name}}.methods">Methods</h3>
<div class="params">
<p>Method parameters:</p>
<template repeat="{{param in method.params}}">
<p><code>{{param.name}}</code><span> <code>( {{param.type}} )</code></span></p>
<p><code>&lt;<em>{{param.type}}</em>&gt; {{param.name}}</code></p>
<p><span>{{param.description}}</span></p>
</template>
</div>
Expand Down

0 comments on commit ef90aad

Please sign in to comment.