SoundKeyboardDragListener¶
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/SoundKeyboardDragListener.ts for the most up-to-date information.
Overview¶
SoundKeyboardDragListener extends KeyboardDragListener to integrate PhET-specific sounds for grab and release.
For grab and release sounds, responsibilities include: - provide default sound files - create SoundClips and register them with soundManager - dispose of SoundClips and deregister them with soundManager
@author AgustÃn Vallejo @author Michael Kauzmann @author Chris Malley (PixelZoom, Inc.) @author Jesse Greenberg
Class SoundKeyboardDragListener¶
Constructor¶
new SoundKeyboardDragListener( providedOptions : SoundKeyboardDragListenerOptions )¶
Instance Methods¶
Type SoundKeyboardDragListenerOptions¶
KeyboardDragListenerOptions & RichDragListenerSoundOptions
Source Code¶
See the source for SoundKeyboardDragListener.ts in the scenery-phet repository.