Class DialogManager

base class for event dispatching using d3 event mechanism, thus .suffix is supported for multiple registrations

Hierarchy

Constructors

Properties

livePreviews: Partial<ILivePreviewOptions>
node: HTMLElement
onDialogBackgroundClick: "cancel" | "confirm"
EVENT_DIALOG_CLOSED: "dialogClosed" = 'dialogClosed'
EVENT_DIALOG_OPENED: "dialogOpened" = 'dialogOpened'

Accessors

Methods

  • forwards one or more events from a given dispatcher to the current one i.e. when one of the given events is fired in 'from' it will be forwarded to all my listeners

    Parameters

    • from: IEventHandler

      the event dispatcher to forward from

    • Rest ...types: string[]

      the event types to forward

    Returns void

  • Parameters

    • mask: { height: number; left: number; top: number; width: number }
      • height: number
      • left: number
      • top: number
      • width: number

    Returns void