There are no tracking or monitoring cookies on this site. There are only cookies used for documentation examples related to cookies.
Close

Processing...
This may take a few seconds.

load-config

Syntax

load-config: "url" [every (time)] [after (time)][, (class)...];

url = The url of the config file to add to the existing config in memory.

New config files loaded will only be added once. Ie. new config files won't load twice if the action command has already been run.

The following example includes the callback event "afterLoadConfig":

#test-start:click {
    load-config: "/activecss/core-test-config.txt";
}

#test-start:afterLoadConfig {
    (... start the test actions)
}

The body:afterLoadConfig event is always run after config has loaded, at initialization time, and on further config loads. This event always happens before any individual element afterLoadConfig events.