Slider Control

(UI 0.9.9)

Introduction

A Slider is a control which represents a range, and a current value in the range. The sliding element of the control (sometimes called the "thumb") reflects the value, and can be adjusted within the range.

Class synopsis

class UI\Controls\Slider extends UI\Control {
/* Constructor */
public __construct(int $min, int $max)
/* Methods */
public getValue(): int
protected onChange()
public setValue(int $value)
/* Inherited methods */
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool
}

Table of Contents