• Render widgets in a given element.

    Parameters

    • element: HTMLElement = document.documentElement

      (default document.documentElement) The element containing widget state and views.

    • loader: ((moduleName, moduleVersion) => Promise<any>) = requireLoader

      (default requireLoader) The function used to look up the modules containing the widgets' models and views classes. (The default loader looks them up on jsDelivr)

        • (moduleName, moduleVersion): Promise<any>
        • Parameters

          • moduleName: string
          • moduleVersion: string

          Returns Promise<any>

    Returns void