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.