EVOLUTION-MANAGER
Edit File: ngSwipeRight.html
<a href='https://github.com/angular/angular.js/edit/v1.3.x/src/ngTouch/directive/ngSwipe.js?message=docs(ngSwipeRight)%3A%20describe%20your%20change...#L41' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a> <a href='https://github.com/angular/angular.js/tree/v1.3.9/src/ngTouch/directive/ngSwipe.js#L41' class='view-source pull-right btn btn-primary'> <i class="glyphicon glyphicon-zoom-in"> </i>View Source </a> <header class="api-profile-header"> <h1 class="api-profile-header-heading">ngSwipeRight</h1> <ol class="api-profile-header-structure naked-list step-list"> <li> - directive in module <a href="api/ngTouch">ngTouch</a> </li> </ol> </header> <div class="api-profile-description"> <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>Directive Info</h2> <ul> <li>This directive executes at priority level 0.</li> </ul> <h2 id="usage">Usage</h2> <div class="usage"> <ul> <li>as attribute: <pre><code><ANY ng-swipe-right=""> ... </ANY></code></pre> </li> </div> <section class="api-section"> <h3>Arguments</h3> <table class="variables-matrix input-arguments"> <thead> <tr> <th>Param</th> <th>Type</th> <th>Details</th> </tr> </thead> <tbody> <tr> <td> ngSwipeRight </td> <td> <a href="" class="label type-hint type-hint-expression">expression</a> </td> <td> <p><a href="guide/expression">Expression</a> to evaluate upon right swipe. (Event object is available as <code>$event</code>)</p> </td> </tr> </tbody> </table> </section> <h2 id="example">Example</h2><p> <div> <a ng-click="openPlunkr('examples/example-example116')" class="btn pull-right"> <i class="glyphicon glyphicon-edit"> </i> Edit in Plunker</a> <div class="runnable-example" path="examples/example-example116" module="ngSwipeRightExample" deps="angular-touch.js"> <div class="runnable-example-file" name="index.html" language="html" type="html"> <pre><code><div ng-show="!showActions" ng-swipe-left="showActions = true"> Some list content, like an email in the inbox </div> <div ng-show="showActions" ng-swipe-right="showActions = false"> <button ng-click="reply()">Reply</button> <button ng-click="delete()">Delete</button> </div></code></pre> </div> <div class="runnable-example-file" name="script.js" language="js" type="js"> <pre><code>angular.module('ngSwipeRightExample', ['ngTouch']);</code></pre> </div> <iframe class="runnable-example-frame" src="examples/example-example116/index.html" name="example-example116"></iframe> </div> </div> </p> </div>