构造函数

  • 参数

    • params: {
          appId?: string;
          collectBaseUrl?: string;
          token?: string;
      }
      • 可选appId?: string
      • 可选collectBaseUrl?: string
      • 可选token?: string

    返回 CAKit

属性

_config: Record<string, string>
appId?: string
baseUrl: string
cid: string
collectRequest: FetchRequest
request: FetchRequest

方法

  • 参数

    返回 Promise<void>

  • 参数

    • params: {
          title: string;
          type?: keyof ActionView;
      } & Record<string, undefined | string>

    返回 Record<string, string>

  • 参数

    • params: {
          title: string;
          type?: keyof ActionView;
      } & Record<string, undefined | string>

    返回 Promise<void>