UI\Controls\Slider::__constructConstruct a new Slider

min

The minimum allowed value

max

The maximum allowed value