Takes the elements returned by the load method and attaches them to the specified element.
iPageControlMembers.render(element, options, loadResult);
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.
This method does not return a value.
This example defines a PageControl that overrides the render method.
<!-- advancedControl.html --> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>advancedControl</title> <script src="/pages/advancedControl.js"></script> </head> <body> <div class="advancedControl fragment"> <p>This content actually gets ignored, since the page control has overridden the load and render methods. </p> </div> </body> </html>
For the full code, see the HTML Page controls sample (Windows).
Minimum supported client
|Windows 8 [Windows Store apps only]|
Minimum supported server
|Windows Server 2012 [Windows Store apps only]|
Minimum supported phone
|Windows Phone 8.1|
- For developers
- Your first app - Part 3: PageControl objects and navigation
- Navigating between pages
- Quickstart: Using single-page navigation
- Quickstart: Adding Page controls
- Adding a Page control item template
- HTML Page controls sample
- Navigation and navigation history sample
- For designers
- Navigation patterns