Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRCKitComponentContext

Hierarchy

  • IRCKitComponentContext

Index

Methods

  • computed<T>(fn: (() => T)): T
  • Proxy the computed method of Vue to facilitate the use of computed properties in business.

    Type Parameters

    • T

    Parameters

    • fn: (() => T)
        • (): T
        • Returns T

    Returns T

  • ref<T>(value?: T): { value?: T }
  • Proxy the ref method of Vue so that the business can use ref for reactive listening.

    Type Parameters

    • T = null | string | number | boolean

    Parameters

    • Optional value: T

    Returns { value?: T }

    • Optional value?: T
  • reactive(obj: object): any
  • Proxy the reactive method of Vue so that responsive data can be used in templates.

    Parameters

    • obj: object

    Returns any

  • getLanguage(): string
  • Get the current language

    Returns string

  • getCurrentUserId(): string
  • Get the current user ID

    Returns string