Coder Social home page Coder Social logo

Comments (11)

DD-UX avatar DD-UX commented on June 18, 2024

Having the very same issue. Trying to work with without ng-repeat. Any idea @ksachdeva ?
Thanks in advance

from angular-swiper.

DD-UX avatar DD-UX commented on June 18, 2024

Current directive requires ng-repeat because is watching for the $last element to run.

if (scope.$last === true) {
    $timeout(function() {
        containerController.buildSwiper();
    }, 0);
}

A good way to solve it would be to pass a param when there is no ng-repeat so it simply executes

from angular-swiper.

ksachdeva avatar ksachdeva commented on June 18, 2024

it is now fixed, there is also a demo now; please see the latest

from angular-swiper.

KasperAndersson avatar KasperAndersson commented on June 18, 2024

@ksachdeva This fixes doesn't seems to be pushed for npm? Just downloaded this directive via npm, and it still has the scope.$lastexpression.

from angular-swiper.

ksachdeva avatar ksachdeva commented on June 18, 2024

I have pushed another version but am sure the one on npm was the one with out scope.$last

from angular-swiper.

KasperAndersson avatar KasperAndersson commented on June 18, 2024

@ksachdeva I keep getting the version0.0.1, during npm install angular-swiper

npm ERR! No compatible version found: angular-swiper@0.3.2

https://www.npmjs.com/package/angular-swiper - latest version 0.0.1..

from angular-swiper.

dideriksn avatar dideriksn commented on June 18, 2024

+1

from angular-swiper.

ksachdeva avatar ksachdeva commented on June 18, 2024

Apologies Kasper. I do not know why I was reading 'bower install'. I have not pushed it on 'npm'; do not even recall pushing the first version either. Will take care of it very soon. Sorry again for the confusion.

from angular-swiper.

ksachdeva avatar ksachdeva commented on June 18, 2024

Just tried it and am not able to push. I also verified that I have never pushed it on npm.

https://www.npmjs.com/~staskorz is the user who pushed it on the npm. I will contact him to push the latest release.

from angular-swiper.

ksachdeva avatar ksachdeva commented on June 18, 2024

Hi Kasper, npm now has the latest angular-swiper now. Staskorz was kind enough to delete his package and let me create one

from angular-swiper.

KasperAndersson avatar KasperAndersson commented on June 18, 2024

@ksachdeva Thanks! Really nice job.

Hug

from angular-swiper.

Related Issues (20)

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.