WavelengthNumberControl¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery-phet/blob/main/js/WavelengthNumberControl.ts for the most up-to-date information.
Overview¶
NumberControl that shows a spectrum of colors for selecting a wavelength.
@author Sam Reid (PhET Interactive Simulations)
Class WavelengthNumberControl¶
@param wavelengthProperty - wavelength, in nm @param [options] @constructor
Constructor¶
new WavelengthNumberControl( wavelengthProperty : Property<number>, providedOptions? : WavelengthNumberControlOptions )¶
Instance Methods¶
Type WavelengthNumberControlOptions¶
- title?: string | TReadOnlyProperty<string>
- range?: Range
- spectrumSliderTrackOptions?: SpectrumSliderTrackOptions
- spectrumSliderThumbOptions?: SpectrumSliderThumbOptions
- & NestedStrictOmit<NumberControlOptions, "sliderOptions", "trackNode" | "thumbNode">
Source Code¶
See the source for WavelengthNumberControl.ts in the scenery-phet repository.