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'
isPassive?: boolean

Whether to use passive event listeners for the drag events. If set to true, the events will be passive, which can improve performance but prevents the default behavior from being blocked.

Default

false
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