JavaScript

{dialog.object}.loadCSSFile Method

Syntax

{dialog.Object}.loadCSSFile(CSSFilename , flagForceLoad)

Arguments

CSSFilename

The source file that contains the CSS.

flagForceLoad

True = forces a load event even if the file is already loaded.

Description

Loads CSS from a file.

If the flagForeLoad argument is true then the CSS file is loaded even if it has been previously loaded. The default value for flagForceLoad is false.

 Example

mycss.css is loaded from the same folder in the webroot as the current component

{dialog.object}.loadCSSFile(mycss.css);

See Also