WavelengthNumberControl¶
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.