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