Share via


ContentDialog.element property

Gets the Document Object Model (DOM) element that hosts the ContentDialog.

Syntax

var element = contentDialog.element;

Property value

Type: HTMLElement

The DOM element that hosts the ContentDialog. This element is usually a div.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

ContentDialog