UI\Controls\Spin::__construct

(UI 0.9.9)

UI\Controls\Spin::__constructConstruct a new Spin

说明

public UI\Controls\Spin::__construct(int $min, int $max)

Constructs a new Spin with the given range

参数

min

The minimum value allowed

max

The maximum value allowed