Skip to content

EnumerationProperty

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.