Skip to content

SpectrumSliderTrack

Overview

This SliderTrack depicts a spectrum of colors in the track.

@author Sam Reid (PhET Interactive Simulations)

Class SpectrumSliderTrack

import { SpectrumSliderTrack } from 'scenerystack/scenery-phet';

Constructor

new SpectrumSliderTrack( property : TProperty<number>, range : Range, providedOptions? : SpectrumSliderTrackOptions )

Instance Methods

Type SpectrumSliderTrackOptions

import type { SpectrumSliderTrackOptions } from 'scenerystack/scenery-phet';

Source Code

See the source for SpectrumSliderTrack.ts in the scenery-phet repository.