Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • AuthStateArgs = unknown

Hierarchy

  • DDClient

Implements

Index

Constructors

constructor

Properties

api

api: DDAPIClient

auth

auth: DDAuthClient<AuthStateArgs>

config

config: DDConfigClient

dashboard

dashboard: DDDashboardClient

debug

debug: boolean

events

events: DDEventsClient<AuthStateArgs>

location

location: DDLocationClient

modal

modal: DDModalClient

notification

notification: DDNotificationClient

sidePanel

sidePanel: DDSidePanelClient

widgetContextMenu

widgetContextMenu: DDWidgetContextMenuClient

Methods

getContext

log

  • log(message: string): void

logError

  • logError(message: string): void

logWarning

  • logWarning(message: string): void

on

onRequest

request

  • request<Q, R>(requestType: RequestType, requestData?: Q): Promise<R>

resize

  • Notify the parent that the iframe should be resized.

    Will default any dimensions not given to the iframe's actual dimensions.

    There's no guarantee that the parent will adjust the iframe's dimensions. The parent will also sanitize the dimensions attempting to keep the iframe within the viewport.

    Parameters

    Returns void

send

  • send<T>(eventType: EventType, eventData: T): Promise<void>

Generated using TypeDoc