Listening to Events
- JavaScript
- React
- Vue
- Angular
- Preact
You can listen to Flicking's events with Flicking#on
// If you're using a package manager
import { EVENTS } from "@egjs/flicking";
// Or, if you're using a CDN
const EVENTS = Flicking.EVENTS;
flicking.on(EVENTS.MOVE, evt => {
console.log(evt);
})
See all available events at Flicking#events.