Skip to content

AncestorNodesProperty

Overview

A Property that will contain a set of all ancestor Nodes of a given Node.

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

Class AncestorNodesProperty

import { AncestorNodesProperty } from 'scenerystack/scenery';

Constructor

new AncestorNodesProperty( node : Node )

Instance Methods

dispose()

Instance Properties

updateEmitter : TinyEmitter

(readonly)

Fired whenever we need to update the internal value (i.e. a parent was added or removed somewhere in the chain)

Source Code

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