Skip to content

StringCasingPair

Under Construction

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

Overview

A data structure that holds a string in its lowercase and capitalized form. For example, 'more' and 'More'. @author Michael Kauzmann (PhET Interactive Simulations)

Class StringCasingPair

import { StringCasingPair } from 'scenerystack/scenery-phet';

Constructor

new StringCasingPair( lowercase : string, capitalized : string )

Instance Methods

Instance Properties

lowercase : string

(readonly)

capitalized : string

(readonly)

Source Code

See the source for StringCasingPair.ts in the scenery-phet repository.