Skip to content

TEnumeration

Under Construction

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

Overview

Type TEnumeration

Abstraction used by EnumerationProperty, and implemented by Enumeration.ts

@author Sam Reid (PhET Interactive Simulations)

import type { TEnumeration } from 'scenerystack/phet-core';
  • keys: string[]
    The possible keys for the enumeration
  • values: T[]
    The values for the enumeration
  • phetioDocumentation?: string
    Optional PhET-iO documentation

Source Code

See the source for TEnumeration.ts in the phet-core repository.