Skip to content

PatternMessageProperty

Overview

A Property whose value is a message from a bundle with arguments. Each argument can be a Property, and the message will be updated either the message or the argument changes.

A similar idea as PatternStringProperty, but for Fluent messages.

@author Jesse Greenberg (PhET Interactive Simulations)

Class PatternMessageProperty

import { PatternMessageProperty } from 'scenerystack/chipper';

Constructor

new PatternMessageProperty( messageProperty : LocalizedMessageProperty, values : IntentionalAny )

Instance Methods

Source Code

See the source for PatternMessageProperty.ts in the chipper repository.