hMainApplicationCSS

This hook is called to allow a plugin to append CSS to the main CSS file.

The CSS is cached. To invalidate the cached CSS, call O.reloadPlatformDynamicFiles().

Arguments

This hook does not take any arguments.

Response

Return information by changing these properties of the response object.

Name Type Description
css String CSS to add to the main CSS file

JavaScript template


P.hook('hMainApplicationCSS', function(response) {
    // Respond to hook, for example
    // response.css = ...
});