Provides members for a PageControl. You implement this interface when defining a new PageControl.
Called if any error occurs during the processing of the page.
The error that occurred.
Nothing if the error was handled, or an error promise if the error was not handled.
Initializes the control before the content of the control is set. Use the processed method for any initialization that should be done after the content of the control has been set.
The DOM element that will contain all the content for the page.
The options passed to the constructor of the page.
A promise that is fulfilled when initialization is complete, if asynchronous processing is necessary. If not, returns nothing.
Creates DOM objects from the content in the specified URI. This method is called after the PageControl is defined and before the init method is called.
The URI from which to create DOM objects.
A promise whose fulfilled value is the set of unparented DOM objects.
Initializes the control after the content of the control is set.
The DOM element that will contain all the content for the page.
The options that are to be passed to the constructor of the page.
A promise that is fulfilled when initialization is complete, if asynchronous processing is necessary. If not, returns nothing.
Called after all initialization and rendering is complete. At this time, the element is ready for use.
The DOM element that contains all the content for the page.
An object that contains one or more property/value pairs to apply to the PageControl. How these property/value pairs are used (or not used) depends on the implementation of that particular PageControl.
A promise that is fulfilled when the element is ready for use, if asynchronous processing is necessary. If not, returns nothing.
Takes the elements returned by the load method and attaches them to the specified element.
The DOM element to which the loadResult elements are appended.
An object that contains one or more property/value pairs to apply to the PageControl. How these property/value pairs are used (or not used) depends on the implementation of that particular PageControl.
A Promise that contains the elements returned from the load method.