Skip to content

TrailsBetweenProperty

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/util/TrailsBetweenProperty.ts for the most up-to-date information.

Overview

A Property that will synchronously contain all Trails between two nodes (in a root-leaf direction). Listens from the child to the parent (since we tend to branch much less that way).

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class TrailsBetweenProperty

import { TrailsBetweenProperty } from 'scenerystack/scenery';

Constructor

new TrailsBetweenProperty( rootNode : Node, leafNode : Node )

Instance Methods

dispose()

Instance Properties

rootNode : Node

(readonly)

leafNode : Node

(readonly)

listenedNodeSet : Set<Node>

(readonly)

Source Code

See the source for TrailsBetweenProperty.ts in the scenery repository.