Skip to content

Commit

Permalink
chore: update docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbrown committed Aug 12, 2014
1 parent f5afc0a commit 2f9e370
Show file tree
Hide file tree
Showing 21 changed files with 1,664 additions and 3 deletions.
3 changes: 3 additions & 0 deletions docs/unstable/directive/faClick/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ docType: "directive"
</a>
</div>

<br>
<strong>This directive is deprecated.</strong>




Expand Down
93 changes: 93 additions & 0 deletions docs/unstable/directive/ngBlur/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
---
layout: "docs_api"
version: "unstable"
versionHref: "/docs/unstable"
path: "api/directive/ngBlur/"
title: "ng-blur"
header_sub_title: "Directive in module scripts"
doc: "ngBlur"
docType: "directive"
---

<div class="improve-docs">
<a href='https://github.com/Famous/famous-angular/edit/master/src/scripts/directives/fa-input.js#L563'>
Improve this doc
</a>
</div>





<h1 class="api-title">

ng-blur



</h1>





Specify custom behavior on blur event.







<h2 id="usage">Usage</h2>

```html
<window, input, select, textarea, a
ng-blur="">
...
</window, input, select, textarea, a>
```
<h2 id="api" style="clear:both;">API</h2>
<table class="table" style="margin:0;">
<thead>
<tr>
<th>Attr</th>
<th>Type</th>
<th>Details</th>
</tr>
</thead>
<tbody>
<tr>
<td>
ngBlur
</td>
<td>
<code>expression</code>
</td>
<td>
<p><a href="guide/expression">Expression</a> to evaluate upon
blur. (<a href="guide/expression#-event-">Event object is available as <code>$event</code></a>)</p>
</td>
</tr>
</tbody>
</table>
<h2 id="example">Example</h2>
74 changes: 74 additions & 0 deletions docs/unstable/directive/ngClick/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
layout: "docs_api"
version: "unstable"
versionHref: "/docs/unstable"
path: "api/directive/ngClick/"
title: "ng-click"
header_sub_title: "Directive in module famous.angular"
doc: "ngClick"
docType: "directive"
---

<div class="improve-docs">
<a href='https://github.com/Famous/famous-angular/edit/master/src/scripts/directives/fa-input.js#L2'>
Improve this doc
</a>
</div>





<h1 class="api-title">

ng-click



</h1>





This is a wrapped for tha default ngCick which allows you to specify custom behavior when an fa-surface is clicked.
the wrapper is also design to be be used on touchscreen devices. It matches all the features supported by ngClick on
including ngTouch module for all types of fa-surface.

If ngTouch is requried to add touch click capabilites in non F/A elements. Add ngTouch dependence before adding famous.angular otherwise
this functionality will be lost.







<h2 id="usage">Usage</h2>

```html
<ANY fa-click="expression">

</ANY>
```







<h2 id="example">Example</h2><h3 id="ng-click-on-an-fa-surface">ng-click on an fa-surface</h3>
<p><code>ng-click</code> can be used on an <code>fa-surface</code>. Internally, a Famous Surface has a <code>.on()</code> method that binds a callback function to an event type handled by that Surface.
The function expression bound to <code>ng-click</code> is bound to that <code>fa-surface</code>&#39;s click eventHandler, and when the <code>fa-surface</code> is clicked, the function expression will be called. </p>
<pre><code class="lang-html">&lt;fa-modifier fa-size=&quot;[100, 100]&quot;&gt;
&lt;fa-surface ng-click=&quot;myClickHandler($event)&quot; fa-background-color=&quot;&#39;red&#39;&quot;&gt;&lt;/fa-surface&gt;
&lt;/fa-modifier&gt;</code></pre>
<p>```javascript
$scope.myClickHandler = function($event) {
console.log(&quot;click&quot;);
console.log($event);
};</p>



95 changes: 95 additions & 0 deletions docs/unstable/directive/ngCopy/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
layout: "docs_api"
version: "unstable"
versionHref: "/docs/unstable"
path: "api/directive/ngCopy/"
title: "ng-copy"
header_sub_title: "Directive in module scripts"
doc: "ngCopy"
docType: "directive"
---

<div class="improve-docs">
<a href='https://github.com/Famous/famous-angular/edit/master/src/scripts/directives/fa-input.js#L578'>
Improve this doc
</a>
</div>





<h1 class="api-title">

ng-copy



</h1>





Specify custom behavior on copy event.







<h2 id="usage">Usage</h2>

```html
<window, input, select, textarea, a
ng-copy="">
...
</window, input, select, textarea, a>
```
<h2 id="api" style="clear:both;">API</h2>
<table class="table" style="margin:0;">
<thead>
<tr>
<th>Attr</th>
<th>Type</th>
<th>Details</th>
</tr>
</thead>
<tbody>
<tr>
<td>
ngCopy
</td>
<td>
<code>expression</code>
</td>
<td>
<p><a href="guide/expression">Expression</a> to evaluate upon
copy. (<a href="guide/expression#-event-">Event object is available as <code>$event</code></a>)</p>
</td>
</tr>
</tbody>
</table>
<h2 id="example">Example</h2><example>
</example>
95 changes: 95 additions & 0 deletions docs/unstable/directive/ngCut/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
layout: "docs_api"
version: "unstable"
versionHref: "/docs/unstable"
path: "api/directive/ngCut/"
title: "ng-cut"
header_sub_title: "Directive in module scripts"
doc: "ngCut"
docType: "directive"
---

<div class="improve-docs">
<a href='https://github.com/Famous/famous-angular/edit/master/src/scripts/directives/fa-input.js#L596'>
Improve this doc
</a>
</div>





<h1 class="api-title">

ng-cut



</h1>





Specify custom behavior on cut event.







<h2 id="usage">Usage</h2>

```html
<window, input, select, textarea, a
ng-cut="">
...
</window, input, select, textarea, a>
```
<h2 id="api" style="clear:both;">API</h2>
<table class="table" style="margin:0;">
<thead>
<tr>
<th>Attr</th>
<th>Type</th>
<th>Details</th>
</tr>
</thead>
<tbody>
<tr>
<td>
ngCut
</td>
<td>
<code>expression</code>
</td>
<td>
<p><a href="guide/expression">Expression</a> to evaluate upon
cut. (<a href="guide/expression#-event-">Event object is available as <code>$event</code></a>)</p>
</td>
</tr>
</tbody>
</table>
<h2 id="example">Example</h2><example>
</example>
Loading

0 comments on commit 2f9e370

Please # to comment.