Skip to content

DisplayedProperty

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

Overview

A property that is true when the node appears on the given display. See DisplayedTrailsProperty for additional options

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

Class DisplayedProperty

import { DisplayedProperty } from 'scenerystack/scenery';

Constructor

new DisplayedProperty( node : Node, options? : DisplayedPropertyOptions )

Instance Methods

dispose()

Type DisplayedPropertyOptions

import type { DisplayedPropertyOptions } from 'scenerystack/scenery';

DisplayedTrailsPropertyOptions & DerivedPropertyOptions<boolean>

Source Code

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