Creates the css rules maintainer.
is the strategy to use when adding
rules to the <head><style>
element. With api, CSSStyleSheet.insertRule() is used with the
downside, that the style element will not show the rule text. With
text, the rules are added as text to the generated style element and can
be easily inspected with the browser's developer toolbox.
Creates an html element with document.createElement, adds the css class
from the rules provider and installs the rules if this is the first time we
see the css class.
Registers the given css rules at the front of the page's <head>
element if this was not done for the CssRulesProvider.CSSCLASS
already.
If createElement is called at least once, calling this method is not necessary.
Generated using TypeDoc
Creates
<style>elements in<head>with css rules and provides createElement much likedocument.createElementbut adds the necessary CSS class right away.