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'
disablePointerEventsAt?: number | false

Disables pointer events when the difference in coordinates exceeds the specified value (in pixels). Set this value to a number to define the threshold after which pointer events are disabled. Set to false to leave pointer events unaffected.

Default

false
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