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