trait DraggableOptions extends Object with ActionOptions with RestrictAble with InertiaAble with AutoScrollAble
- Annotations
- @JSType()
- Alphabetic
- By Inheritance
- DraggableOptions
- AutoScrollAble
- ActionOptions
- InertiaAble
- RestrictAble
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val allowFrom: UndefOr[String]
The allowFrom option lets you specify a target CSS selector or Element which must be the target of the pointer down event in order for the action to start.
The allowFrom option lets you specify a target CSS selector or Element which must be the target of the pointer down event in order for the action to start. This option available for drag, resize and gesture, as well as pointerEvents (down, move, hold, etc.). Using the allowFrom option, you may specify handles for each action separately and for all your pointerEvents listeners.
- Definition Classes
- ActionOptions
- Annotations
- @JSOptional()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val autoScroll: UndefOr[|[Boolean, AutoScrollOptions]]
- Definition Classes
- AutoScrollAble
- Annotations
- @JSOptional()
- val axis: UndefOr[String]
The axis in which the first movement must be in for the drag sequence to start.
The axis in which the first movement must be in for the drag sequence to start. After the movement in that axis, the the action can move in both the x and y axes.
- Annotations
- @JSOptional()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val enabled: UndefOr[Boolean]
Enable the action for the Interactable.
Enable the action for the Interactable. If the options object has no enabled property or the property value is true then the action is enabled. If enabled is false, the action is disabled.
- Definition Classes
- ActionOptions
- Annotations
- @JSOptional()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val hold: UndefOr[Double]
The action will start after the pointer is held down for the given number of milliseconds.
The action will start after the pointer is held down for the given number of milliseconds.
- Definition Classes
- ActionOptions
- Annotations
- @JSOptional()
- val ignoreFrom: UndefOr[String]
The compliment to allowFrom, ignoreFrom lets you specify elements within your target with which to avoid starting actions.
The compliment to allowFrom, ignoreFrom lets you specify elements within your target with which to avoid starting actions. This is useful when certain elements need to maintain default behavior when interacted with. For example, dragging around a text/contentEditable, by wrapping this object with a draggable element and ignoring the editable content you maintain the ability to highlight text without moving the element.
- Definition Classes
- ActionOptions
- Annotations
- @JSOptional()
- val inertia: UndefOr[|[Boolean, InertiaOptions]]
- Definition Classes
- InertiaAble
- Annotations
- @JSOptional()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- val manualStart: UndefOr[Boolean]
If this is changed to true then drag, resize and gesture actions will have to be started with a call to Interaction#start as the usual down,move, <action>start… sequence will not start an action.
If this is changed to true then drag, resize and gesture actions will have to be started with a call to Interaction#start as the usual down,move, <action>start… sequence will not start an action.
- Definition Classes
- ActionOptions
- Annotations
- @JSOptional()
- val max: UndefOr[Double]
max is used to limit the number of concurrent interactions that can target an interactable.
max is used to limit the number of concurrent interactions that can target an interactable. By default, any number of interactions can target an interactable.
- Definition Classes
- ActionOptions
- Annotations
- @JSOptional()
- val maxPerElement: UndefOr[Double]
By default only 1 interaction can target the same interactable+element combination.
By default only 1 interaction can target the same interactable+element combination. If you want to allow multiple interactions on the same target element, set the maxPerElement property of your object to a value >= 2.
- Definition Classes
- ActionOptions
- Annotations
- @JSOptional()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val onend: UndefOr[Function1[InteractEvent, Unit]]
Called when an interaction is finished.
Called when an interaction is finished.
- Definition Classes
- ActionOptions
- Annotations
- @JSOptional()
- val onmove: UndefOr[Function1[InteractEvent, Unit]]
Called when the object is being interacted with.
Called when the object is being interacted with.
- Definition Classes
- ActionOptions
- Annotations
- @JSOptional()
- val onstart: UndefOr[Function1[InteractEvent, Unit]]
Called when an interaction is started.
Called when an interaction is started.
- Definition Classes
- ActionOptions
- Annotations
- @JSOptional()
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- val restrict: UndefOr[RestrictOptions]
- Definition Classes
- RestrictAble
- Annotations
- @JSOptional()
- val restrictEdges: UndefOr[RestrictOptions]
- Definition Classes
- RestrictAble
- Annotations
- @JSOptional()
- val restrictSize: UndefOr[RestrictOptions]
- Definition Classes
- RestrictAble
- Annotations
- @JSOptional()
- val snap: UndefOr[|[Boolean, SnapOptions]]
Change snapping settings for drag and resize.
Change snapping settings for drag and resize. See docs/snapping.
- Definition Classes
- ActionOptions
- Annotations
- @JSOptional()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated