Interface IStaticProps

Static properties for a component. These properties remain constant throughout the lifecycle of the component. This interface extends IStaticProps, inheriting the static properties defined for modules.

Hierarchy

Properties

__fixHelperStaticProps?: any
container?: string | Element | Window

The element that will be draggable. This can be a CSS selector, an HTML element, or the window.

Default

'#v-dragger'
minLength?: number

The minimum length (in pixels) required for a swipe to be considered valid and trigger direction events. If the drag distance is less than this value, no directional callback will be triggered.

Default

75
preventDefault?: boolean

If need to prevent default events

Default

true