guessVisualTrail¶
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/pdom/guessVisualTrail.ts for the most up-to-date information.
Overview¶
Since a "Trail" on PDOMInstance can have discontinuous jumps (due to pdomOrder), this finds the best actual visual Trail to use, from the trail of a PDOMInstance to the root of a Display.
@param trail - trail of the PDOMInstance, which can containe "gaps" @param rootNode - root of a Display
@author Jonathan Olson <jonathan.olson@colorado.edu> @author Jesse Greenberg
Source Code¶
See the source for guessVisualTrail.ts in the scenery repository.