WinJS.UI.ContentDialog constructor
Creates a new ContentDialog.
Syntax
var contentDialog = new WinJS.UI.ContentDialog(element, options);
Parameters
element
Type: ObjectThe DOM element associated that hosts the ContentDialog.
options
Type: ObjectAn object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties or events. Event names must begin with "on".
Requirements
Minimum WinJS version |
WinJS 4.0 |
Namespace |
WinJS.UI |