• Loads a HTML file and includes it in the given element. It also executes all the scripts of the HTML file. Note that a call to initializeControls might be needed in order to initialize any custom UI control in the loaded HTML.
    For all the scripts within the included HTML there's window.rootElement set to the element where the HTML is being included, in order to be able to modify the correct part of DOM (if needed).

    Parameters

    • element: any

      Element where to load HTML

    • filename: any

      Source file for the HTML

    Returns void

    Method

    includeHTML