Skip to content

HSlider

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/sun/blob/main/js/HSlider.ts for the most up-to-date information.

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.