Handles inserting and removing CSS into the page. The CSS is requested using AJAX and the received CSS text is added to style tags with no more than 4095 rules. The maximum number of stylesheets is 31. This is due to the limitations introduced by Internet Explorer 8 and Internet Explorer 9 browsers.
Arguments: |
|
---|---|
Returns Promise: | |
indicates when the loading of the CSS finished. |
Requests the CSS files for the specified component and inserts the CSS into the page. The promise returned by this method is rejected when there is not enough space to insert the CSS in the page.