PatternMessageProperty¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/chipper/blob/main/js/browser/PatternMessageProperty.ts for the most up-to-date information.
Overview¶
A Property whose value is a message from a Fluent 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.
For values that are being used in a message with CLDR plural category, the value needs be a number. Otherwise, the string will be used and always hit the "other" category.
@author Jesse Greenberg (PhET Interactive Simulations)
Class PatternMessageProperty¶
Constructor¶
new PatternMessageProperty( messageProperty : LocalizedMessageProperty, values : IntentionalAny )¶
Instance Methods¶
Source Code¶
See the source for PatternMessageProperty.ts in the chipper repository.