FineCoarseSpinner¶
Overview¶
A type of spinner UI component that supports 'fine' and 'coarse' changes to a numeric value.
< << [ value ] >> >
@author Chris Malley (PixelZoom, Inc.)
Class FineCoarseSpinner¶
Constructor¶
new FineCoarseSpinner( numberProperty : NumberProperty, providedOptions? : FineCoarseSpinnerOptions )¶
Instance Methods¶
dispose()¶
Type FineCoarseSpinnerOptions¶
- deltaFine?: number
- deltaCoarse?: number
- spacing?: number
- arrowsSoundPlayer?: TSoundPlayer
- numberDisplayOptions?: StrictOmit<NumberDisplayOptions, "tandem">
- arrowButtonOptions?: StrictOmit<ArrowButtonOptions, "numberOfArrows" | "tandem" | "focusable" | "soundPlayer">
- & StrictOmit<ParentOptions, "children" | "valueProperty" | "enabledRangeProperty" | "keyboardStep" | "shiftKeyboardStep" | "pageKeyboardStep" | "onInput">
Source Code¶
See the source for FineCoarseSpinner.ts in the scenery-phet repository.