{"id":14482514,"url":"https://github.com/cotag/bower-angular-gesture","last_synced_at":"2026-03-04T08:02:39.855Z","repository":{"id":58215086,"uuid":"10260884","full_name":"cotag/bower-angular-gesture","owner":"cotag","description":"Bower package for angular-gesture","archived":false,"fork":false,"pushed_at":"2017-01-15T23:15:05.000Z","size":99,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-01-26T13:23:56.061Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cotag.png","metadata":{"files":{"readme":"README.textile","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-24T06:49:37.000Z","updated_at":"2019-03-07T19:16:44.000Z","dependencies_parsed_at":"2022-08-30T16:11:14.321Z","dependency_job_id":null,"html_url":"https://github.com/cotag/bower-angular-gesture","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/cotag/bower-angular-gesture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cotag%2Fbower-angular-gesture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cotag%2Fbower-angular-gesture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cotag%2Fbower-angular-gesture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cotag%2Fbower-angular-gesture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cotag","download_url":"https://codeload.github.com/cotag/bower-angular-gesture/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cotag%2Fbower-angular-gesture/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30075918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-03T00:01:10.472Z","updated_at":"2026-03-04T08:02:39.823Z","avatar_url":"https://github.com/cotag.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"h1. Mobile Gestures for Angular JS !https://travis-ci.org/cotag/angular-gesture.png!:https://travis-ci.org/cotag/angular-gesture\n\nTo use with http://yeoman.io/ do the following:\n\n# Open bower.json or components.json\n# Add @\"angular-gesture\": \"~1.4.0\"@ to your dependency list\n# Run @bower install@\n# In your application you can now add: (depending on what you need)\n#* @\u003cscript src=\"components/pointerevents-polyfill/pointerevents.dev.js\"\u003e\u003c/script\u003e@\n#* @\u003cscript src=\"components/angular-gesture/ngGesture/gesture.js\"\u003e\u003c/script\u003e@\n#* @\u003cscript src=\"components/angular-gesture/ngGesture/directive/ngTouch.js\"\u003e\u003c/script\u003e@\n#* @\u003cscript src=\"components/angular-gesture/ngGesture/directive/ngClick.js\"\u003e\u003c/script\u003e@\n#* @\u003cscript src=\"components/angular-gesture/ngGesture/directive/ngHold.js\"\u003e\u003c/script\u003e@\n#* @\u003cscript src=\"components/angular-gesture/ngGesture/directive/ngSwipe.js\"\u003e\u003c/script\u003e@\n#* @\u003cscript src=\"components/angular-gesture/ngGesture/directive/ngDrag.js\"\u003e\u003c/script\u003e@\n\n\nh2. Supports the following gestures out of the box\n\n* hold\n* click (tap)\n* double click (double tap)\n* swipe (up, down, left and right)\n* drag\n\nInspired by \"AngularJS Touch\":https://github.com/angular/angular.js/tree/master/src/ngTouch (API compatible)\n\n\nh2. How it works\n\nAngular gesture takes a different approach to handling input events to most gesture libraries.\nInstead of only dealing with events that fall on the element, pointers are captured so events continue to be processed by the element they originally touched.\n\nThis means if you drag too fast or your pointer falls outside the object you are interacting with the gesture isn't cancelled.\nEvents are then passed up the DOM from that original touch point.\n\nh2. Usage\n\nEvents are assigned to DOM elements via attributes\n\n@\u003cdiv ng-swipe-left=\"functionInScope($event, $element)\"\u003e\u003c/div\u003e@\n\nWhere when the user swipes left on a touch device (or clicks and rapidly moves the mouse left) the function is called.\n\n@$event@ and @$element@ are optional and can be passed to the function in any order\n\n\nh2. Event curation\n\nModifying default behaviour\n\n# Somtimes you'll only want to events to trigger if the user directly touches the element (versus an element further up the DOM)\n#* Add @on-target@ to the element @\u003cdiv ng-touch=\"handler()\" on-target\u003e@\n# Sometimes you may not want to capture the mouse pointer. This can break form interactions.\n#* Add @no-capture@ to the element\n# Sometimes you don't want the interaction to propagate to elements below the current element\n#* Add @ng-stop@ directive to the element\n#* This is a shortcut for @ng-touch=\"$event.stopPropagation()\"@\n\nBrowser behaviours and event defaults are also modifyable via element attributes. Below are the defaults\n\n* @user-select=\"none\"@ https://developer.mozilla.org/en-US/docs/Web/CSS/user-select\n* @touch-callout=\"none\"@ http://css-infos.net/property/-webkit-touch-callout\n* @content-zooming=\"none\"@ http://msdn.microsoft.com/en-us/library/windows/apps/hh441251.aspx\n* @user-drag=\"none\"@ http://css-infos.net/property/-webkit-user-drag\n* @tap-highlight-color=\"rgba(0,0,0,0)\"@ http://css-infos.net/property/-webkit-tap-highlight-color\n\nEach event type has its own default settings for limits, breakpoints, etc all can be changed via attributes.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcotag%2Fbower-angular-gesture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcotag%2Fbower-angular-gesture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcotag%2Fbower-angular-gesture/lists"}