Skip to content

EnumerationProperty

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/axon/blob/main/js/EnumerationProperty.ts for the most up-to-date information.

Overview

Property support for rich enumeration types.

@author Sam Reid (PhET Interactive Simulations)

Class EnumerationProperty

import { EnumerationProperty } from 'scenerystack/axon';

Constructor

new EnumerationProperty( value : T, providedOptions? : EnumerationPropertyOptions<T> )

Instance Methods

Type EnumerationPropertyOptions

import type { EnumerationPropertyOptions } from 'scenerystack/axon';

Source Code

See the source for EnumerationProperty.ts in the axon repository.