Update Angular to 1.2.0 RC2
This commit is contained in:
parent
7416269494
commit
0d3a40980e
184 changed files with 17993 additions and 21133 deletions
|
@ -1,4 +1,4 @@
|
|||
<a href="http://github.com/angular/angular.js/tree/v1.2.0rc1/src/ngTouch/directive/ngSwipe.js#L30" class="view-source btn btn-action"><i class="icon-zoom-in"> </i> View source</a><a href="http://github.com/angular/angular.js/edit/master/src/ngTouch/directive/ngSwipe.js" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><code ng:non-bindable="">ngSwipeRight</code>
|
||||
<a href="http://github.com/angular/angular.js/tree/v1.2.0rc1/src/ngTouch/directive/ngSwipe.js#L32" class="view-source btn btn-action"><i class="icon-zoom-in"> </i> View source</a><a href="http://github.com/angular/angular.js/edit/master/src/ngTouch/directive/ngSwipe.js" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><code ng:non-bindable="">ngSwipeRight</code>
|
||||
<div><span class="hint">directive in module <code ng:non-bindable="">ngTouch</code>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -7,6 +7,7 @@
|
|||
<div class="description"><div class="ngtouch-directive-page ngtouch-directive-ngswiperight-page"><p>Specify custom behavior when an element is swiped to the right on a touchscreen device.
|
||||
A rightward swipe is a quick, left-to-right slide of the finger.
|
||||
Though ngSwipeRight is designed for touch-based devices, it will work with a mouse click and drag too.</p>
|
||||
<p>Requires the <a href="api/ngTouch"><code>ngTouch</code></a> module to be installed.</p>
|
||||
</div></div>
|
||||
<h2 id="Usage">Usage</h2>
|
||||
<div class="usage">as attribute<pre class="prettyprint linenums"><ANY ng-swipe-right="{expression}">
|
||||
|
@ -20,10 +21,10 @@ upon right swipe. (Event object is available as <code>$event</code>)</p>
|
|||
</div></td></tr></tbody></table></div>
|
||||
<h2 id="Example">Example</h2>
|
||||
<div class="example"><div class="ngtouch-directive-page ngtouch-directive-ngswiperight-page"><h4>Source</h2>
|
||||
<div source-edit="" source-edit-deps="angular.js" source-edit-html="index.html-157" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
|
||||
<div source-edit="" source-edit-deps="angular.js" source-edit-html="index.html-158" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
|
||||
<div class="tabbable"><div class="tab-pane" title="index.html">
|
||||
<pre class="prettyprint linenums" ng-set-text="index.html-157" ng-html-wrap=" angular.js"></pre>
|
||||
<script type="text/ng-template" id="index.html-157">
|
||||
<pre class="prettyprint linenums" ng-set-text="index.html-158" ng-html-wrap=" angular.js"></pre>
|
||||
<script type="text/ng-template" id="index.html-158">
|
||||
<div ng-show="!showActions" ng-swipe-left="showActions = true">
|
||||
Some list content, like an email in the inbox
|
||||
</div>
|
||||
|
@ -34,6 +35,6 @@ upon right swipe. (Event object is available as <code>$event</code>)</p>
|
|||
</script>
|
||||
</div>
|
||||
</div><h2>Demo</h4>
|
||||
<div class="well doc-example-live animate-container" ng-embed-app="" ng-set-html="index.html-157" ng-eval-javascript=""></div>
|
||||
<div class="well doc-example-live animate-container" ng-embed-app="" ng-set-html="index.html-158" ng-eval-javascript=""></div>
|
||||
</div></div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue