mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
- syntax highlighting - tabless design - rename widget to doc:example - rename widget files (wiki_widget.* -> doc_widget.*) - example section is now optional
39 lines
799 B
Text
39 lines
799 B
Text
<h1><tt>{{name}}</tt></h1>
|
|
|
|
<h2>Description</h2>
|
|
{{{description}}}
|
|
|
|
<h2>Usage</h2>
|
|
<h3>In HTML Template Binding</h3>
|
|
<tt>
|
|
<pre>
|
|
<{{shortName}}{{#param}} {{#default}}<i>[</i>{{/default}}{{name}}="..."{{#default}}<i>]</i>{{/default}}{{/param}}>{{#usageContent}}
|
|
|
|
{{usageContent}}
|
|
{{/usageContent}}</{{shortName}}>
|
|
</pre>
|
|
</tt>
|
|
|
|
<h3>Parameters</h3>
|
|
<ul>
|
|
{{#param}}
|
|
<li><tt>{{name}}:{{#type}}{{type}}{{/type}}{{^type}}:*{{/type}}{{#default}}={{default}}{{/default}}</tt>: {{{description}}}</li>
|
|
{{/param}}
|
|
</ul>
|
|
{{{paramDescription}}}
|
|
|
|
<h3>CSS</h3>
|
|
{{{css}}}
|
|
|
|
{{#example}}
|
|
<h2>Example</h2>
|
|
{{{exampleDescription}}}
|
|
<doc:example>
|
|
<doc:source>
|
|
{{/example}}
|
|
{{{example}}}
|
|
{{#example}}
|
|
</doc:source>
|
|
<doc:scenario>{{{scenario}}}</doc:scenario>
|
|
</doc:example>
|
|
{{/example}}
|