Skip to content

Commit

Permalink
reset examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dagda1 committed Nov 21, 2013
1 parent ee2aae8 commit 54853ec
Showing 1 changed file with 5 additions and 22 deletions.
27 changes: 5 additions & 22 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,33 +54,16 @@ <h2>filter and search on a different property other than name.</h2>
</pre>
<hr/>

<h2>Customise suggestions and results.</h2>
<h2>Use a different template rather than the default.</h2>
<div class="tags">
{{#auto-suggest source=controller.employees destination=controller.chosenEmployees searchPath="fullName" minChars=0}}
<img src="img/small_avatar.png" {{bindAttr alt="fullName"}}/>
{{/auto-suggest}}
<label>Cars:</label> {{#auto-suggest source=controller.employees destination=controller.chosenEmployees searchPath="fullName" minChars=0}}
<img src="img/small_avatar.png" {{bindAttr alt="fullName"}}/>
{{/auto-suggest}}
</div>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<pre>
<code>
&#123;&#123;#auto-suggest source=controller.employees destination=controller.chosenEmployees searchPath="fullName" minChars=0&#125;&#125;
&lt;img src="img/small_avatar.png"&#123;&#123;bindAttr alt="fullName"&#125;&#125;/&gt;
&lt;img src="img/small_avatar.png"&#123;&#123;bindAttr alt="fullName"&#125;&#125;
&#123;&#123;/auto-suggest&#125;&#125;
</code>
</pre>
Expand Down

0 comments on commit 54853ec

Please sign in to comment.