Skip to content

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

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

Constructor

new WavelengthNumberControl( wavelengthProperty : Property<number>, providedOptions? : WavelengthNumberControlOptions )

Instance Methods

Type WavelengthNumberControlOptions

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

Source Code

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