mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 15:40:22 +00:00
- move @ng:repeat to widgets.js and its specs to widgetsSpecs.js - move @ng:non-bindable to widgets.js and its specs to widgetsSpecs.js - make widget.template suitable for attribute widgets - fix up the js docs for attribute widgets
60 lines
1.2 KiB
Text
60 lines
1.2 KiB
Text
<h1>{{name}}</h1>
|
||
|
||
{{#deprecated}}
|
||
<fieldset class="deprecated">
|
||
<legend>Deprecated API</legend>
|
||
{{deprecated}}
|
||
</fieldset>
|
||
{{/deprecated}}
|
||
|
||
<h2>Description</h2>
|
||
{{{description}}}
|
||
|
||
<h2>Usage</h2>
|
||
<h3>In HTML Template Binding</h3>
|
||
<tt>
|
||
{{^element}}
|
||
<pre>
|
||
<{{shortName}}{{#param}} {{#default}}<i>[</i>{{/default}}{{name}}="..."{{#default}}<i>]</i>{{/default}}{{/param}}>{{#usageContent}}
|
||
|
||
{{usageContent}}
|
||
{{/usageContent}}</{{shortName}}>
|
||
</pre>
|
||
{{/element}}
|
||
{{#element}}
|
||
<pre>
|
||
<{{element}} {{shortName}}{{#paramFirst}}="{{paramFirst.name}}{{/paramFirst}}">
|
||
...
|
||
</{{element}}>
|
||
</pre>
|
||
{{/element}}
|
||
</tt>
|
||
|
||
<h3>Parameters</h3>
|
||
<ul>
|
||
{{#param}}
|
||
<li><tt>{{name}}</tt> –
|
||
<tt>{{{#type}}{{type}}{{/type}}{{^type}}*{{/type}}{{#optional}}={{/optional}}}</tt>
|
||
<tt>{{#default}}[{{default}}]{{/default}}</tt>
|
||
– {{{description}}}</li>
|
||
{{/param}}
|
||
</ul>
|
||
{{{paramDescription}}}
|
||
|
||
{{#css}}
|
||
<h3>CSS</h3>
|
||
{{{css}}}
|
||
{{/css}}
|
||
|
||
{{#example}}
|
||
<h2>Example</h2>
|
||
{{{exampleDescription}}}
|
||
<doc:example>
|
||
<doc:source>
|
||
{{/example}}
|
||
{{{example}}}
|
||
{{#example}}
|
||
</doc:source>
|
||
<doc:scenario>{{{scenario}}}</doc:scenario>
|
||
</doc:example>
|
||
{{/example}}
|