t

org.scalajs.interactjs

ActionOptions

trait ActionOptions extends Object with RestrictAble with InertiaAble

Annotations
@JSType()
Linear Supertypes
InertiaAble, RestrictAble, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActionOptions
  2. InertiaAble
  3. RestrictAble
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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.

    Annotations
    @JSOptional()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. 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.

    Annotations
    @JSOptional()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. 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.

    Annotations
    @JSOptional()
  14. 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.

    Annotations
    @JSOptional()
  15. val inertia: UndefOr[|[Boolean, InertiaOptions]]
    Definition Classes
    InertiaAble
    Annotations
    @JSOptional()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  18. 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.

    Annotations
    @JSOptional()
  19. 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.

    Annotations
    @JSOptional()
  20. 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.

    Annotations
    @JSOptional()
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. val onend: UndefOr[Function1[InteractEvent, Unit]]

    Called when an interaction is finished.

    Called when an interaction is finished.

    Annotations
    @JSOptional()
  25. val onmove: UndefOr[Function1[InteractEvent, Unit]]

    Called when the object is being interacted with.

    Called when the object is being interacted with.

    Annotations
    @JSOptional()
  26. val onstart: UndefOr[Function1[InteractEvent, Unit]]

    Called when an interaction is started.

    Called when an interaction is started.

    Annotations
    @JSOptional()
  27. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  28. val restrict: UndefOr[RestrictOptions]
    Definition Classes
    RestrictAble
    Annotations
    @JSOptional()
  29. val restrictEdges: UndefOr[RestrictOptions]
    Definition Classes
    RestrictAble
    Annotations
    @JSOptional()
  30. val restrictSize: UndefOr[RestrictOptions]
    Definition Classes
    RestrictAble
    Annotations
    @JSOptional()
  31. val snap: UndefOr[|[Boolean, SnapOptions]]

    Change snapping settings for drag and resize.

    Change snapping settings for drag and resize. See docs/snapping.

    Annotations
    @JSOptional()
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toLocaleString(): String
    Definition Classes
    Object
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def valueOf(): Any
    Definition Classes
    Object
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from InertiaAble

Inherited from RestrictAble

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped