Version

Method Reference (igDialog)

Topic Overview

Purpose

The topic that introduces the user to the igDialog™ control’s methods.

In this topic

This topic contains the following sections:

Method Reference

The following table summarizes the purpose and functionality of the igDialog control’s featured methods:

Method Description
state Gets the state of the editor.
mainElement Gets the reference to a dynamically created DIV element, which represents dialog.
content Retrieves the igDialog content container or sets its content to be the new content provided. This is the inner container of the dialog window excluding headers, resizing handlers, etc.
close Closes the igDialog, if it is opened.
open Opens the igDialog, if it is closed.
minimize Minimizes the igDialog, if it is opened.
maximize Maximizes the igDialog, if it is opened.
pin Pins the igDialog, if it is not pinned.
unpin Unpins the igDialog, if it is pinned.
getTopModal Gets reference to the top modal dialog.
isTopModal Returns if dialog is modal and is currently active.
moveToTop Moves dialog to the top.
destroy Destroys the igDialog control.

Related Content

Topics

The following topics provide additional information related to this topic:

Samples

The following samples provide additional information related to this topic:

  • API and Events: This sample demonstrates how to handle events in the Dialog Window control and API usage.
  • Modal Dialog: This sample shows you how to create a modal dialog.

View on GitHub