Skip to content

SliderThumb

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/SliderThumb.ts for the most up-to-date information.

Overview

A default slider thumb, currently intended for use only in HSlider. It's a rectangle with a vertical white line down the center. The origin is at the top left (HSlider uses the thumb center for positioning).

@author Chris Malley (PixelZoom, Inc.)

Class SliderThumb

import { SliderThumb } from 'scenerystack/sun';

Constructor

new SliderThumb( providedOptions : SliderThumbOptions )

Instance Methods

Source Code

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