Class ResourceStore

Hierarchy

  • ResourceStore

Constructors

Properties

Methods

Constructors

Properties

data: Resource
options: InitOptions<object>

Methods

  • Remove event listener removes all callback when callback not specified

    Parameters

    • event: "added" | "removed"
    • Optional callback: ((lng, ns) => void)
      Optional
        • (lng, ns): void
        • Parameters

          • lng: string
          • ns: string

          Returns void

    Returns void

  • Gets fired when resources got added or removed

    Parameters

    • event: "added" | "removed"
    • callback: ((lng, ns) => void)
        • (lng, ns): void
        • Parameters

          • lng: string
          • ns: string

          Returns void

    Returns void

Generated using TypeDoc