• Dynamically loads a CSS file.

    Parameters

    • path: string

      The relative path to the CSS file. This path is relative to <portal>/external/htmlroot/.

    Returns void

    Remarks

    To unload a previously loaded CSS file, use the unloadStyleSheet function.

    Example

    // Loads the CSS file located at "css/myCSS.css" relative to "<portal>/external/htmlroot/"
    ix.api.dom.loadStyleSheet("css/myCSS.css");