API Docs for:

CSSNotificationBasicStrategy Class

Defined in: css_notify.js:119
Module: CSSNotification

Default strategy implementation for the CSSNotification class, simply attaches a provided callback to the onload property of the node that the notification is set on.

Typical Usage

var css_node = document.GetElementById("theme-css");
var strategy = new CSSNotificationBasicStrategy();

// The supplied callback will get called asyncronously in IE, unfortunately this strategy 
// does not work in some other browsers
strategy.setNotification(css_node, function() { console.log("CSS file has finished loading."); } );




Defined in css_notify.js:119

Item Index