MessageFormat class

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Create a new message formatter.


export declare class MessageFormat 


Constructor Modifiers Description
(constructor)(source, locales, options)   (BETA) Constructs a new instance of the MessageFormat class


Method Modifiers Description
format(msgParams, onError)   (BETA)
formatToParts(msgParams, onError)   (BETA)
resolvedOptions()   (BETA)