Giter Club home page Giter Club logo

Comments (18)

nstanard avatar nstanard commented on August 20, 2024 2

If you open a PR and they accept it I cannot stand in the way. However, I think lory.js is fine without it and adding it simply because designers don't want to take the time to learn how to code is not a good reason.

from lory.

JeffWeim avatar JeffWeim commented on August 20, 2024 1

I'm wondering the same. The issue was closed before anyone showed a working example...

from lory.

alx-so avatar alx-so commented on August 20, 2024 1

+100 for dots

from lory.

jennifer-sevenval avatar jennifer-sevenval commented on August 20, 2024 1

apparently working on one

from lory.

jennifer-sevenval avatar jennifer-sevenval commented on August 20, 2024 1

I'm gonna make a pullrequest within the week :)

from lory.

nstanard avatar nstanard commented on August 20, 2024 1

What bugs? Please be specific.

The example I provided didn't have click events on the list items and so clicking them didn't do anything. If you want that too then it's a few lines of code more.

First example with only visual feedback: http://codepen.io/nstanard/pen/jrwymd
Second example with click events on the list items using the public API method to slide to the index: http://codepen.io/nstanard/pen/EgvVpV

Any issues you see you can mention and I'll be glad to fix but that's a working example in about 38 lines of code. I'm not arguing about anything @yoanmalie. This project is fantastic and doesn't need this feature. I have provided two examples now on how to add this functionality yourself using the provided public API and custom events.

from lory.

yoanmalie avatar yoanmalie commented on August 20, 2024

I would use Lory instead Slick.js. But the dot pager is the only thing is missing here to replace Slick in my workflow.
+1 For this Feature request.

from lory.

nstanard avatar nstanard commented on August 20, 2024

You can create your own dot pager with the provided events people.... No need to bloat the project with stuff you can add on your own.

from lory.

jennifer-sevenval avatar jennifer-sevenval commented on August 20, 2024

Absolutely, but maybe not everybody knows how, but want to use the slider anyways.

TL;DR
In my opinion a great slider is one where you can 1. have a well documented api - which is here better then nothing but far from perfect - 2. you can extend it by your own code (check), and last but not least: have quite a few standardized options to pass through - like those mouse-click events. If it's about not "bloating" the project, you, I or anybody else can write this bubble navigation, autostart function, whatever as a plugin - if that is more likeminded.

from lory.

nstanard avatar nstanard commented on August 20, 2024

"have quite a few standardized options to pass through"

Where does it end? Honestly... the thing I love about this slider is how minimal it is. I'm not a main contributor to this project so I don't have much weight to throw around but still.... programming isn't about having standardized options provided all the time. It's about understanding how things work and being able to adjust them the way you want. I think there is a gitter chat for this project and if anybody has any questions they can refer to that.

The story of every slider I've ever seen started with... "well what about this feature...?" and it just keeps going. I've gone through so many in my few years as a developer and this is my favorite by far. The documentation is rather clear and although I would change a few small things if I wanted to be super nitpicky it's not worth it. I have been able to program most anything I need or want with this.

The more features you add the more problems you get.

from lory.

jennifer-sevenval avatar jennifer-sevenval commented on August 20, 2024

The more features you add the more problems you get.

I'm with you - totally - as a programmer. But as a user you can say - well may this slider is not for me if I need a dot pagination and cannot program it myself. Or whatever. Or you can at least be modular and say - well if you need a dot pagination then enable it - or just get it from that place and enable this js after lory.js has loaded. For sure you have to maintain more but as stated here it is an enhancement. The thing I love about lory is its flexibility to be whatever you want it to be. But by adding new features you do not have to break those flexibility.

About the documentation. Well yes the Readme is rather clear which options you have and what you can do with the api and a bit of " well that does that thing"

But for me there shall have been a bit more, whilst I was developing the dot navigation and also an autostart option - where every designer I know is after it - I have had to take a deeper look into the code to understand what really was happening - and yes the in-code documentation is very well written, even if the codestyle with those asterisks is quite new to me ^^

from lory.

yoanmalie avatar yoanmalie commented on August 20, 2024

Hey,
@nstanard, i don't know how to do this. I don't code JS.
BTW, i agree with @jeebseven. Feel free to put your PR and let's see if the plugin creator would accept this.

from lory.

nstanard avatar nstanard commented on August 20, 2024

@yoanmalie, @jeebseven: http://kenwheeler.github.io/slick/

Have fun.

from lory.

jennifer-sevenval avatar jennifer-sevenval commented on August 20, 2024

@nstanard well jQuery dependencies. Not for me :)

from lory.

yoanmalie avatar yoanmalie commented on August 20, 2024

@nstanard Slick Require JQuery, Slick is oversized for most of my projects. Slick is 5.8 × heavier.
Please, be relevant.

from lory.

nstanard avatar nstanard commented on August 20, 2024

http://codepen.io/nstanard/pen/jrwymd

Have fun

from lory.

nstanard avatar nstanard commented on August 20, 2024

@yoanmalie Why are you charged with maintaining sites if you don't use JS? You should have enough knowledge to setup API/Event calls to add and remove a class.

from lory.

yoanmalie avatar yoanmalie commented on August 20, 2024

Wow. That escalated quickly. ᕕ( ᐛ )ᕗ

@nstanard You should have enough knowledge to ensure that your example works correctly and also, avoid bugs. Before "arguing" that i should to know JS.

i repeat: please, be relevant.
The fact that i can't code JS doesn't mean i can't use a libs or whatever.
Libs are made to save times and allow lot peoples to use them easily.

As @jeebseven said,

A great slider is one where you can:

  1. Have a well documented api ;
  2. You can extend it by your own code ;
  3. Have quite a few standardized options to pass through.

The third point is why i'm here. IMO dot pager are sandardized for a slider like Prev and Next buttons.

from lory.

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.