Hierarchy

  • LocalState

Implements

Constructors

  • Parameters

    • __namedParameters: { contents: string; imports?: { [key: string]: any }; syncDelay?: number | ((contents: string) => number) }
      • contents: string
      • Optional imports?: { [key: string]: any }
        • [key: string]: any
      • Optional syncDelay?: number | ((contents: string) => number)

    Returns LocalState

Properties

availableLanguages: { [lang: string]: LanguageSupport } = {}

Type declaration

  • [lang: string]: LanguageSupport
contents: string
imports?: { [key: string]: any } = undefined

Type declaration

  • [key: string]: any
ready: boolean = true
rendered: boolean = false
runtimeError?: Error = undefined
translation: TranslationResult

Methods

Generated using TypeDoc