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) |
nested | boolean | If this option is enabled on a Conveyer placed inside an egjs component that has the same scroll direction including the Conveyer itself. The parent component moves in the same direction after the Conveyer reaches the first/last scroll position. |