Skip to content

FineCoarseSpinner

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/FineCoarseSpinner.ts for the most up-to-date information.

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

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

Constructor

new FineCoarseSpinner( numberProperty : NumberProperty, providedOptions? : FineCoarseSpinnerOptions )

Instance Methods

dispose()

Type FineCoarseSpinnerOptions

import type { FineCoarseSpinnerOptions } from 'scenerystack/scenery-phet';
  • deltaFine?: number
  • deltaCoarse?: number
  • spacing?: number
  • arrowsSoundPlayer?: TSoundPlayer
  • numberDisplayOptions?: NumberDisplayOptions
  • 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.