Skip to content

HSlider

Overview

Convenience type for horizontal slider. See https://github.com/phetsims/sun/issues/380

@author Chris Malley (PixelZoom, Inc.)

Class HSlider

import { HSlider } from 'scenerystack/sun';

Constructor

new HSlider( valueProperty : PhetioProperty<number>, range : Range, options? : HSliderOptions )

Instance Methods

Type HSliderOptions

import type { HSliderOptions } from 'scenerystack/sun';

StrictOmit<SliderOptions, "orientation">

Source Code

See the source for HSlider.ts in the sun repository.