Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type Aliases

Choice: number
ComponentInstanceCreatedListener: ((newVm: VueI18n & IVueI18n, rootVm: VueI18n & IVueI18n) => void)

Type declaration

CurrencyDisplay: "symbol" | "code" | "name"
DateTimeDigital: "numeric" | "2-digit"
DateTimeFormatOptions: Intl.DateTimeFormatOptions | SpecificDateTimeFormatOptions
DateTimeFormatResult: string
DateTimeHumanReadable: "long" | "short" | "narrow"
FallbackLocale: string | string[] | false | {}
FormatMatcher: "basic" | "best fit"
FormattedNumberPartType: "currency" | "decimal" | "fraction" | "group" | "infinity" | "integer" | "literal" | "minusSign" | "nan" | "plusSign" | "percentSign"
Locale: string
LocaleMatcher: "lookup" | "best fit"
MessageFunction: ((ctx: MessageContext) => string)

Type declaration

MissingHandler: ((locale: Locale, key: Path, vm: Vue | null, values: any) => string | void)

Type declaration

    • (locale: Locale, key: Path, vm: Vue | null, values: any): string | void
    • Parameters

      Returns string | void

Modifiers: {}

Type declaration

  • [key: string]: ((str: string) => string)
      • (str: string): string
      • Parameters

        • str: string

        Returns string

NumberFormatOptions: Intl.NumberFormatOptions | SpecificNumberFormatOptions | CurrencyNumberFormatOptions
NumberFormatResult: string
Path: string
PluignOptions: { bridge?: boolean }

Type declaration

  • Optional bridge?: boolean
PluralizationRulesMap: {}

Type declaration

  • [lang: string]: ((choice: number, choicesLength: number) => number)
    param choice

    a choice index given by the input to $tc: $tc('path.to.rule', choiceIndex)

    param choicesLength

    an overall amount of available choices

    returns

    a final choice index

      • (choice: number, choicesLength: number): number
      • Parameters

        • choice: number

          a choice index given by the input to $tc: $tc('path.to.rule', choiceIndex)

        • choicesLength: number

          an overall amount of available choices

        Returns number

        a final choice index

PostTranslationHandler: ((str: string, key?: string) => string)

Type declaration

    • (str: string, key?: string): string
    • Parameters

      • str: string
      • Optional key: string

      Returns string

TranslateResult: string | LocaleMessages
Values: any[] | {}
WarnHtmlInMessageLevel: "off" | "warn" | "error"

Generated using TypeDoc