WavelengthSlider¶
Overview¶
Slider that shows a spectrum of colors for selecting a wavelength.
@author Chris Malley (PixelZoom, Inc.) @author Sam Reid (PhET Interactive Simulations)
Class WavelengthSlider¶
@deprecated use WavelengthNumberControl, or Slider.js with SpectrumSliderTrack and SpectrumSliderTrack, see https://github.com/phetsims/scenery-phet/issues/729
Constructor¶
new WavelengthSlider( wavelengthProperty : TProperty<number>, providedOptions? : WavelengthSliderOptions )¶
Instance Methods¶
Type WavelengthSliderOptions¶
- minWavelength?: number
- maxWavelength?: number
- & StrictOmit<SpectrumSliderOptions, "minValue" | "maxValue">
Source Code¶
See the source for WavelengthSlider.ts in the scenery-phet repository.