Skip to content

Commit

Permalink
add preventDefaultOnDrag to quickstart's example (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronkiro authored Jan 17, 2025
1 parent 6c07725 commit 293da58
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 293da58

Please sign in to comment.