Packages

trait Slider extends Object with Component

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

Abstract Value Members

  1. abstract def calculateDistance(event: Event): Double

    Calculate distance for slider

    Calculate distance for slider

    event

    The event that caused this function to run.

    returns

    The current position of the Slider.

    • position.x for vertical Sliders
    • position.y for horizontal Sliders
  2. abstract def createEl(type: String, props: Any, attributes: Any): Element

    Create the Sliders DOM element.

    Create the Sliders DOM element.

    type

    Type of element to create.

    returns

    The element that gets created.

  3. abstract def disable(): Unit

    Disable controls for this slider if they are enabled

  4. abstract def enable(): Unit

    Enable controls for this slider if they are disabled

  5. abstract def enabled(): Boolean

    Are controls are currently enabled for this slider or not.

    Are controls are currently enabled for this slider or not.

    returns

    true if controls are enabled, false otherwise

  6. abstract def handleClick(event: Event): Unit

    Listener for click events on slider, used to prevent clicks from bubbling up to parent elements like button menus.

    Listener for click events on slider, used to prevent clicks from bubbling up to parent elements like button menus.

    event

    Event that caused this object to run

  7. abstract def handleMouseDown(event: Event): Unit

    Handle mousedown or touchstart events on the Slider.

    Handle mousedown or touchstart events on the Slider.

    event

    mousedown or touchstart event that triggered this function listens mousedown listens touchstart fires Slider#slideractive

  8. abstract def handleMouseMove(event: Event): Unit

    Handle the mousemove, touchmove, and mousedown events on this Slider.

    Handle the mousemove, touchmove, and mousedown events on this Slider. The mousemove and touchmove events will only only trigger this function during mousedown and touchstart. This is due to Slider#handleMouseDown and Slider#handleMouseUp.

    event

    mousedown, mousemove, touchstart, or touchmove event that triggered this function listens mousemove listens touchmove

  9. abstract def handleMouseUp(event: Event): Unit

    Handle mouseup or touchend events on the Slider.

    Handle mouseup or touchend events on the Slider.

    event

    The mouseup event that caused this to run. listens touchend listens mouseup fires Slider#sliderinactive

  10. abstract val options_: SliderOptions
  11. abstract def update(): Double

    Update the progress bar of the Slider.

    Update the progress bar of the Slider.

    returns

    The percentage of progress the progress bar represents as a number from 0 to 1.

  12. abstract def vertical(): Boolean
  13. abstract def vertical(bool: Boolean): Unit

    Get/set if slider is horizontal for vertical

    Get/set if slider is horizontal for vertical

    returns

    • true if slider is vertical, and getting
    • false if the slider is horizontal, and getting

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def $(selector: String, context: |[Element, String] = ???): Element
    Definition Classes
    Component
  4. def $$(selector: String, context: |[Element, String] = ???): NodeList[Node]
    Definition Classes
    Component
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def addChild(child: |[String, Component], options: Object = ???): Unit
    Definition Classes
    Component
  7. def addClass(classToAdd: String): Unit
    Definition Classes
    Component
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def buildCSSClass(): String
    Definition Classes
    Component
  10. def children(): Array[Component]
    Definition Classes
    Component
  11. def clearInterval(intervalId: Int): Unit
    Definition Classes
    Component
  12. def clearTimeout(timeoutId: Int): Unit
    Definition Classes
    Component
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  14. def contentEl(): Element
    Definition Classes
    Component
  15. def controlText(el: Element): Element
    Definition Classes
    Component
  16. def createEl(tagName: String = ???, properties: Object = ???, attributes: Object = ???): Element
    Definition Classes
    Component
  17. def dimensions(width: |[Int, String], height: |[Int, String]): Unit
    Definition Classes
    Component
  18. def dispose(): Unit
    Definition Classes
    Component
  19. def el(): Element
    Definition Classes
    Component
  20. def enableTouchActivity(): Unit
    Definition Classes
    Component
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. def getChild(name: String): Component
    Definition Classes
    Component
  24. def getChildById(id: String): Component
    Definition Classes
    Component
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  26. def handleBlur(): Unit
    Definition Classes
    Component
  27. def handleClick(): Unit
    Definition Classes
    Component
  28. def handleFocus(): Unit
    Definition Classes
    Component
  29. def handleKeyPress(): Unit
    Definition Classes
    Component
  30. def hasClass(classToCheck: String): Boolean
    Definition Classes
    Component
  31. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  33. def height(num: |[Int, String] = ???, skipListeners: Boolean = ???): Int
    Definition Classes
    Component
  34. def hide(): Unit
    Definition Classes
    Component
  35. def id(): String
    Definition Classes
    Component
  36. def initChildren(): Unit
    Definition Classes
    Component
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  39. def name(): String
    Definition Classes
    Component
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  43. def off(event: String, handler: Function): Unit
    Definition Classes
    Component
  44. def off(component: Component, event: String, handler: Function): Unit
    Definition Classes
    Component
  45. def on(event: String, handler: Function): Unit
    Definition Classes
    Component
  46. def on(component: Component, event: String, handler: Function): Unit
    Definition Classes
    Component
  47. def one(event: String, handler: Function): Unit
    Definition Classes
    Component
  48. def one(component: Component, event: String, handler: Function): Unit
    Definition Classes
    Component
  49. def options(obj: Object): Object
    Definition Classes
    Component
  50. def player(): Player
    Definition Classes
    Component
  51. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  52. def ready(fn: Function, sync: Boolean): Slider.this.type
    Definition Classes
    Component
  53. def removeChild(component: Component): Unit
    Definition Classes
    Component
  54. def removeClass(classToRemove: String): Unit
    Definition Classes
    Component
  55. def setInterval(fn: Function, interval: Int): Unit
    Definition Classes
    Component
  56. def setTimeout(fn: Function, timeout: Int): Unit
    Definition Classes
    Component
  57. def show(): Unit
    Definition Classes
    Component
  58. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  59. def toLocaleString(): String
    Definition Classes
    Object
  60. def toString(): String
    Definition Classes
    AnyRef → Any
  61. def toggleClass(classToToggle: String, predicate: |[Function, Boolean] = ???): Unit
    Definition Classes
    Component
  62. def trigger(event: |[Object, String], hash: Object = ???): Unit
    Definition Classes
    Component
  63. def triggerReady(): Unit
    Definition Classes
    Component
  64. def valueOf(): Any
    Definition Classes
    Object
  65. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  66. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  67. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  68. def width(num: |[Int, String], skipListeners: Boolean): Int
    Definition Classes
    Component

Deprecated Value Members

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

Inherited from Component

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped