Skip to content

Commit

Permalink
add preventDefaultOnDrag to quickstart's example
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronkiro authored Oct 31, 2024
1 parent c106ab4 commit 432a78f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/tutorials/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ You should add directive `flicking-panel` to the panel elements you use

```html
<ngx-flicking
[options]="{ circular: true, duration: 500 }"
[options]="{ circular: true, duration: 500, preventDefaultOnDrag: true }"
[plugins]="plugins"
(needPanel)="onNeedPanel($event)"
(moveEnd)="onMoveEnd($event)"
Expand Down

0 comments on commit 432a78f

Please sign in to comment.