Events & methods
See original GitHub issueHi, everyone!
Events
Version 0.4.0
will receive support for events. At this moment I’ve added two major events:
beforeChange
afterChange
.
The first one returns: {currentSlide: ..., nextSlide: ...}
when the slide change is initialized, and the second returns: {currentSlide: ...}
after change (animation time is not taken into account).
Methods
I added also methods:
goTo(slideNumber)
goToNext()
goToPrev()
getCurrentSlide()
– returns integer
Please let me know what other data in events you want to be returned (for example slide change method: autoplay, arrow, dot, swipe) or what other events and methods should I add. Please also explain in few words how the new event, method or returned data could be used – this will make it easier to implement.
PS. You can also check README file from develop branch for more info and examples.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
jQuery Event Methods
jQuery is tailor-made to respond to events in an HTML page. What are Events? All the different visitors' actions that a web page...
Read more >Event - Web APIs - MDN Web Docs - Mozilla
Chrome Edge
Event Full support. Chrome1. Toggle history Full support. Edge12. Toggle his...
Event() constructor Full support. Chrome15. Toggle history Full support. Edge12. Toggle his...
bubbles...
Read more >Events | jQuery API Documentation
Category: Events. These methods are used to register behaviors to take effect when the user interacts with the browser, and to further manipulate...
Read more >Events Methods
The events can be updates to field values. An app can register event listeners that are invoked when an event occurs. Event Payload...
Read more >Chapter 3. PROPERTIES, METHODS, AND EVENTS
PROPERTIES, METHODS, AND EVENTS. In addition to the core language fundamentals reviewed in the previous chapter, you will find that the majority of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you very much for your efforts! Much appreciated.
I can’t promise, but there is a chance that next week. You can install dev version (
yarn add vue-agile@dev
). There is some bugs inslidesToShow
option, but events should work fine.