FocusDisplayedController¶
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/accessibility/FocusDisplayedController.ts for the most up-to-date information.
Overview¶
Responsible for setting the provided focusProperty to null when the Focused node either becomes invisible on the Display or is removed from the scene graph. It uses a TrailVisibilityTracker to determine if any Node in the Trail has become invisible.
Meant to be scenery-internal and used by FocusManager.
@author Jesse Greenberg
Class FocusDisplayedController¶
Constructor¶
new FocusDisplayedController( focusProperty : TProperty<Focus | null> )¶
Instance Methods¶
dispose()¶
Source Code¶
See the source for FocusDisplayedController.ts in the scenery repository.