mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
62 lines
1.1 KiB
HTML
62 lines
1.1 KiB
HTML
<@ extends "base.template.html" @>
|
|
|
|
<@ block content @>
|
|
|
|
<@ block header @>
|
|
<h2>
|
|
<@ if doc.docType == "directive" @>
|
|
<$ doc.name | dashCase $>
|
|
<@ else @>
|
|
<$ doc.name $>
|
|
<@ endif @>
|
|
<@ if doc.parent @>
|
|
<small>
|
|
(child of <$ doc.parent $>)
|
|
</small>
|
|
<@ endif @>
|
|
<@ if doc.controller @>
|
|
<small>
|
|
(controller: <$ doc.controller $>)
|
|
</small>
|
|
<@ endif @>
|
|
</h2>
|
|
|
|
<@ if doc.codepen @>
|
|
{% include codepen.html id="<$ doc.codepen $>" %}
|
|
<@ endif @>
|
|
<@ endblock @>
|
|
|
|
<@ block description @>
|
|
<$ doc.description $>
|
|
<@ endblock @>
|
|
|
|
<@ if doc.deprecated @>
|
|
<fieldset class="deprecated">
|
|
<legend>Deprecated API</legend>
|
|
<$ doc.deprecated| marked $>
|
|
</fieldset>
|
|
<@ endif @>
|
|
|
|
<@ block dependencies @>
|
|
<@- if doc.requires @>
|
|
<h2 id="dependencies">Dependencies</h2>
|
|
<ul>
|
|
<@ for require in doc.requires @><li><$ require | link $></li><@ endfor @>
|
|
</ul>
|
|
<@ endif -@>
|
|
<@ endblock @>
|
|
|
|
<@ block additional @>
|
|
<@ endblock @>
|
|
|
|
<@ block examples @>
|
|
<@- if doc.examples @>
|
|
<h2 id="example">Example</h2>
|
|
<@- for example in doc.examples -@>
|
|
<$ example | marked $>
|
|
<@- endfor -@>
|
|
<@ endif -@>
|
|
<@ endblock @>
|
|
|
|
<@ endblock @>
|