Class HtmlControl

Enables you to include an HTML page dynamically. As part of the constructor, you must include an option indicating the URI of the page.

Index

Constructor methods

Constructor methods

constructor(element?: HTMLElement, options?: any): HtmlControl

Initializes a new instance of HtmlControl to define a new page control.

constructor

Parameters

  • element?: HTMLElement optional

    The element that hosts the HtmlControl.

  • options?: any optional

    The options for configuring the page. The uri option is required in order to specify the source document for the content of the page. Other options are the ones used by the WinJS.Pages.render method.

Returns

HtmlControl