Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Languages

Index

Variables

languages

languages: Language[] = []

loaded

loaded: number

uiTranslationsToSelector

uiTranslationsToSelector: ISelectorArray = []

Functions

add

  • Parameters

    Returns void

addTranslateSelector

  • addTranslateSelector(id: UiTranslation, selector: string | string[], attribute?: string, html?: boolean, func?: function): void
  • Parameters

    • id: UiTranslation
    • selector: string | string[]
    • Optional attribute: string
    • Optional html: boolean
    • Optional func: function
        • (translation: string): string
        • Parameters

          • translation: string

          Returns string

    Returns void

evalString

  • evalString(str: string): string
  • Parameters

    • str: string

    Returns string

getLanguages

  • Returns Language[]

getLoaded

  • Returns Language

load

  • load(name: string): boolean
  • Parameters

    • name: string

    Returns boolean

refreshUiTranslation

  • Parameters

    Returns void

reload

  • reload(): void
  • Returns void

remove

  • remove(name: string): void
  • Parameters

    • name: string

    Returns void

shouldWarn

  • shouldWarn(str: string): boolean
  • Parameters

    • str: string

    Returns boolean

Object literals

saveData

saveData: object

language

language: null = null

Generated using TypeDoc