Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
ng-swipe-item
Advanced tools
AngularJS ngSwipeItem directive ============= An AngularJS directive that creates swipeable list items based on the AngularJS's *$swipe* service. Actions for both *swipe-right* and *swipe-left* can be defined.
An AngularJS directive that creates swipeable list items based on the AngularJS's $swipe service. Actions for both swipe-right and swipe-left can be defined.
Check out this example!
You can install ngSwipeItem using bower:
bower install ng-swipe-item --save
Then, include the ngSwipeItem dependency on your module:
angular.module('myApp', ['ngSwipeItem']);
<!-- leftFunction.html -->
<script type="text/ng-template" id="leftFunction.html">
<p>Delete</p>
</script>
<!-- rightFunction.html -->
<script type="text/ng-template" id="rightFunction.html">
<p>Store</p>
</script>
<div ng-repeat="thing in awesomeThings">
<div ng-swipe-item
on-left="callLeftFunction($index)"
on-right="callRightFunction($index)"
left-template="leftFunction.html"
right-template="rightFunction.html"
threshold="0.3">
<p style="line-height: 50px; text-align: center;">{{thing}}</p>
</div>
</div>
FAQs
AngularJS ngSwipeItem directive ============= An AngularJS directive that creates swipeable list items based on the AngularJS's *$swipe* service. Actions for both *swipe-right* and *swipe-left* can be defined.
We found that ng-swipe-item demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.