LockNode¶
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/LockNode.ts for the most up-to-date information.
Overview¶
LockNode shows a padlock that is either open or closed, depending on the state of a boolean Property.
@author Chris Malley (PixelZoom, Inc.)
Class LockNode¶
Constructor¶
new LockNode( isLockedProperty : TProperty<boolean>, providedOptions? : LockNodeOptions )¶
Instance Methods¶
Type LockNodeOptions¶
Source Code¶
See the source for LockNode.ts in the scenery-phet repository.