mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Main changes: * Use gulpfile now (build was getting way too disorganized with custom tasks; gulpfiles are much easier to build clean custom tasks with than Grunt. * View README#Development for updated commands * Docs written for ionContent, ionHeaderBar, ionInfiniteScroll. * Docs are pushed to ajoslin's fork of ionic-site until they reach a * point where they can be published. **TODO, In Order of Priority** 1. Finish writing source-documentation for all existing components 2. Add multiple versions of docs (one per release & nightly, latest stable release docs being shown by default) 3. Add examples generation 4. Add searchbar to docs
34 lines
742 B
HTML
34 lines
742 B
HTML
<@- if doc.params @>
|
|
|
|
## API
|
|
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th><@ if doc.docType == "directive" @>Attributes<@ else @>Paramaters<@ endif @></th>
|
|
<th>Type</th>
|
|
<th>Details</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<@ for param in doc.params @>
|
|
<tr>
|
|
<td>
|
|
<$ param.name $>
|
|
<@ if param.alias @>| <$ param.alias $><@ endif @>
|
|
<@ if param.type.optional @><div><em>(optional)</em></div><@ endif @>
|
|
</td>
|
|
<td>
|
|
<$ param.type.name $>
|
|
</td>
|
|
<td>
|
|
<$ param.description | marked $>
|
|
<@ if param.default @><p><em>(default: <$ param.default $>)</em></p><@ endif @>
|
|
</td>
|
|
</tr>
|
|
<@ endfor @>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
<@- endif -@>
|