Skip to content

DynamicStringTest

Overview

DynamicStringTest is a handler for KeyboardEvents. It's used for testing dynamic layout in sims that may not yet have submitted translations, and is enabled via ?stringTest=dynamic. Please see initialize-globals or method handleEvent below for the keys that are handled. See https://github.com/phetsims/chipper/issues/1319 for history.

@author Sam Reid (PhET Interactive Simulations) @author Marla Schulz (PhET Interactive Simulations) @author Chris Malley (PixelZoom, Inc.)

Class DynamicStringTest

import { DynamicStringTest } from 'scenerystack/joist';

Instance Methods

handleEvent( event : KeyboardEvent )

Handles a KeyboardEvent.

Source Code

See the source for DynamicStringTest.ts in the joist repository.