WindowTouch¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery/blob/main/js/input/WindowTouch.ts for the most up-to-date information.
Overview¶
Type WindowTouch¶
A listener for common button usage, providing the fire() method/callback and helpful properties. NOTE that it doesn't need to be an actual button (or look like a button), this is useful whenever that type of "fire" behavior is helpful.
For example usage, see scenery/examples/input.html. Usually you can just pass a fire callback and things work.
@author Jonathan Olson <jonathan.olson@colorado.edu>
Source Code¶
See the source for WindowTouch.ts in the scenery repository.