ConveyerOptions
Type: TSInterface
PROPERTY | TYPE | DESCRIPTION |
---|---|---|
horizontal | boolean | scroll direction. (true: Horizontal Scroll, false: Vertical Scroll) (default: true) |
itemSelector | string | selector to find items inside. (default: "") |
useDrag | boolean | Whether to use drag (default: true) |
scrollDebounce | number | The maximum amount of time the scroll event does not fire for the finishScroll event to be triggered. (default: 100) |
preventDefault | boolean | Whether to prevent being selected. (default: true) |
preventClickOnDrag | boolean | Whether to prevent click event when dragging. (default: false) |
autoInit | boolean | Whether to automatically initialize when an instance is created. If set to false, initialization is possible while calling the init method. (default: true) |