Skip to content

SliderView

The SliderView control represents a slider of specified range.
The SliderView inherits all the methods and properties from the base class View.

Constructor:

  • constructor(parent: View)
    Creates an instance of TabView control.
    • parent: the View containing the control itself.

Properties:

  • min: number
    Defines the minimum value of the slider. Default is 0.
  • max: number
    Defines the maximum value of the slider. Default is 100.
  • pos: number
    Represents the current position of the slider know within the range defined by min and max.
  • frequency: number
    Specifies the increment between tick marks on the SliderView. Default is 1.
  • orientation: SliderViewOrientation
    Specifies whether the slider bar is displayed horizontally or vertically. Possible values are:
    • SliderViewOrientation.Horizontal
    • SliderViewOrientation.Vertical

Methods:

  • change(handler: ()=> any)
    Registers an event handler that is triggered after on scroll position change.