BarrierRectangle¶
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/BarrierRectangle.ts for the most up-to-date information.
Overview¶
Semi-transparent black barrier used to block input events when a dialog (or other popup) is present, and fade out the background.
@author Michael Kauzmann (PhET Interactive Simulations)
Class BarrierRectangle¶
Constructor¶
new BarrierRectangle( modalNodeStack : ObservableArray<PopupableNode>, providedOptions? : BarrierRectangleOptions )¶
Instance Methods¶
dispose()¶
Type BarrierRectangleOptions¶
Source Code¶
See the source for BarrierRectangle.ts in the scenery-phet repository.