Coder Social home page Coder Social logo

Comments (4)

brh55 avatar brh55 commented on June 3, 2024

This could be accomplished quite easily, however, @ksachdeva, do you believe it may be best to assign default params for at least boolean values? It will prevent a lot of similar request in the future.

from angular-swiper.

ksachdeva avatar ksachdeva commented on June 3, 2024

Hi @brh55 since swiper has lot of options may be we should think about an approach using which we do not have to update the directive. One approach is to pass an object prepared by controller or json attribute on the element. This however destroys the 'semantic' aspect of the directive. Look at the fourth option on this gist https://gist.github.com/CMCDragonkai/6282750

from angular-swiper.

brh55 avatar brh55 commented on June 3, 2024

@ksachdeva Hmm, if i'm not mistaken, @b82 should be able to declare the param with the

override-parameters="{ 'observer': true, 'observe-parents': true}"

If this is the case, I think the override-parameter attribute is sufficient to extend any additional params for swiper.

from angular-swiper.

ksachdeva avatar ksachdeva commented on June 3, 2024

This is correct. I have not tested override-parameters myself but seems to implement passing of generic attributes. One of the contributors added this.

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.