Skip to content

Commit 293da58

Browse files
authored
add preventDefaultOnDrag to quickstart's example (#896)
1 parent 6c07725 commit 293da58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/tutorials/quick-start.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ You should add directive `flicking-panel` to the panel elements you use
299299

300300
```html
301301
<ngx-flicking
302-
[options]="{ circular: true, duration: 500 }"
302+
[options]="{ circular: true, duration: 500, preventDefaultOnDrag: true }"
303303
[plugins]="plugins"
304304
(needPanel)="onNeedPanel($event)"
305305
(moveEnd)="onMoveEnd($event)"

0 commit comments

Comments
 (0)