Skip to content

How to scroll to only one panel on swipe #563

Answered by WoodNeck
eddiedane asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @eddiedane!
Try using moveType: "strict" :)

import { MOVE_TYPE } from "@egjs/flicking";

const flicking = new Flicking("#el", {
  // Detailed
  moveType: [MOVE_TYPE.STRICT, { count: 1 }],
  // Simplified
  moveType: MOVE_TYPE.STRICT,
  moveType: "strict"
});

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eddiedane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants