Code Monkey home page Code Monkey logo

angular-swipe's People

Contributors

adzialocha avatar antoinepairet avatar iddo avatar kristianbenoit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-swipe's Issues

Tags Missing Before 0.0.6

One of our projects failed to run properly after we found out that the 0.0.5 tag was removed from this repository. Would it be possible to restore that tag, and preserve any other tags for posterity?

Tag versions for bower

If you really want to support bower properly, you need to add semver tags to the git repository, such as v0.0.4, v0.0.5. This will make life of consuming projects easier as pointing to SHAs or #master can lead to issues.

Please consider adding this as part of your release process if you want this module to be consumed by 3rd party projects.

Bower support

Hi,
to start thanks for your work and your share.

I looked at your directive and choose to use it but can'install it by bower

2 case and same result.

case 1 : I put "angular-swipe": "https://github.com/marmorkuchen-net/angular-swipe.git" in my bower.json and then by terminal i got this :

bower install angular-swipe
bower not-cached https://github.com/marmorkuchen-net/angular-swipe.git#*
bower resolve https://github.com/marmorkuchen-net/angular-swipe.git#*
bower checkout angular-swipe#v0.0.5
bower resolved https://github.com/marmorkuchen-net/angular-swipe.git#0.0.5
bower ENOTFOUND Package angular-swipe not found

case 2 : I replace by "angular-swipe": "https://github.com/marmorkuchen-net/angular-swipe.git#master"

bower install angular-swipe
bower not-cached https://github.com/marmorkuchen-net/angular-swipe.git#master
bower resolve https://github.com/marmorkuchen-net/angular-swipe.git#master
bower checkout angular-swipe#master
bower resolved https://github.com/marmorkuchen-net/angular-swipe.git#5418174204
bower ENOTFOUND Package angular-swipe not found

I never register a project with bower so i just suppose that your directive name is not registered anymore by bower.

Can you give a look, until then I will download it with the zip.

BTW, what I am trying to achieve is to swipe up and down a nav bar at the bottom of the screen, it would be nice if I could make the animaion synchronize with the swipe event, but like it doesn't seems possible to set an animation currentValue, I am not sure to achieve completely what I expect

Thanks for your time :)

Add a license to the project

Please add a license to the project. Not specifying a license means that you automatically reserve all rights and no projects are allowed to rely on this module, except your own of course.

Disable mouse

Hi there! How can i disable the mouse events and use them only on devices with touchscreen? Thank you!

noPreventDefault not 'always' working

The noPreventDefault solution does not work consistently on my phone app. There is a clickable div nested in the swipeable parent element and the "workaround" only works after a page refresh once have already loaded. For the moment I have removed prevent default behaviour from the source as my own workaround.

Not compatible with Angular JS 1.4.x?

The docs clearly state to support Angular >= 1.3, however dependencies in bower.json are set to 1.3.x, only. Are there any known issues with Angular 1.4 or is that dependency marker wrong?

Conflict with ngTouch

ngTouch also has ng-swipe-left and ng-swipe-right, and that results in triggering the functions twice.

Bower error

Adding angular-swipe to bower.json as specified on README page leads to an error:

bower ECMDERR       Failed to execute "git ls-remote --tags --heads [email protected]:marmorkuchen-net/angular-swipe.git", exit code of #128

Adding it like this actually worked:

"angular-swipe": "marmorkuchen-net/angular-swipe"

ng-swipe-up and down

Thanks for your work on this. I recently start working with it and came across something weird. On applying a ng-swipe-up or ng-swipe-down I can't select input fields within that element. Remove and it works. Works fine to with ng-swipe-left/right.

Also fires ng-click event

Putting any of the ng-swipe-* directives on the same element as an ng-click directive will result in both the click and the swipe event to be fired when the user swipes. I would expect that only the swipe event would be fired.

Would it be possible to update to Angular 1.6.x?

Hi @adzialocha ,

we're using this package for quite a while now and we are very satisfied. After updating our application to angular 1.6, we get some bower warnings with your packge.

angular-swipe#0.2.0 depends on angular#~1.5.x which resolved to angular#1.5.11

Do you plan to update the angular-dependencies in the near future?

Cheers!

ng-swipe-down and ng-swipe-up not working

Hi marmorkuchen-net,

I am trying to call a function when I swipe down, however, it is not working for some reason. I followed the directions provided by the README and I can see that I even have 'angular-swipe' in my bower_components. I was wondering if you have any suggestions on how to get the swipe down and swipe up to work.

Here is how I am calling ng-swipe-down

div ng-swipe-left="nextImg()" ng-swipe-right="previousImg()" ng-swipe-down="dismissImg()" class="modal-content">

The ng-swipe-left and ng-swipe-right work fine. In my dismissImg() I just have an alert() to test.

$scope.dismissImg = function() {
//jQuery to press a esc key
alert("TESTING");
};

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.