Highcharts Dashboards
    Preparing search index...

    Class to create confirmation popup.

    Hierarchy

    • BaseForm
      • ConfirmationPopup
    Index

    Constructors

    • Constructs an instance of the ConfirmationPopup.

      Parameters

      • parentDiv: HTMLElement

        Parent div where the popup will be added.

      • iconsURL: string

        URL to the icons.

      • editMode: EditMode

        The EditMode instance.

      • Optionaloptions: Options

        Options for confirmation popup.

      Returns ConfirmationPopup

    Properties

    buttonContainer: HTMLElement | undefined

    Container for buttons.

    closeButton: HTMLElement
    container: HTMLElement
    contentContainer: HTMLElement | undefined

    Container for popup content.

    contentOptions?: ContentOptions

    Show options for confirmation popup.

    editMode: EditMode

    The EditMode instance.

    iconsURL: string
    options?: Options

    Options for confirmation popup.

    type?: string

    Methods

    • Adds close button to the popup.

      Parameters

      • className: string = EditGlobals.classNames.popupCloseButton

        Class name added to the close button.

      Returns HTMLElement

    • Adds events to the close button.

      BaseForm.closeButtonEvents

      Returns void

    • Hides confirmation popup.

      Returns void

    • Returns popup container.

      Parameters

      • parentDiv: HTMLElement

        Parent div where the popup will be added.

      • className: string = EditGlobals.classNames.confirmationPopup

        Class name added to the popup container.

      Returns HTMLElement

    • Adds content inside the popup.

      Returns void

    • Reset content of the current popup and show.

      Parameters

      • toolbarClass: string = 'highcharts-annotation-toolbar'

        Class name of the toolbar which styles should be reset.

      Returns void