Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LocaleStore

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new LocaleStore(defaultLocale: string, translations: object): LocaleStore
  • Parameters

    • defaultLocale: string
    • translations: object
      • [key: string]: object
        • [id: string]: string

    Returns LocaleStore

Properties

Private _locale

_locale: IObservableValue<string> = observable("")

Private translations

translations: object

Type declaration

  • [key: string]: object
    • [id: string]: string

Accessors

messages

messages:

value

value:

Methods

formatMessage

  • formatMessage(id: string, values: object): any

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc