Adds the given CSS styles to a style tag in the document head with the given ID. Optionally removes an already existing style tag with the given ID before creating the new one.
If used extensively (e.g. many calls during rendering of configurator) this method is not very performant and
should be used with great care and only if really necessary.
Usually setStyle should be preferred over this. The one great advantage of addHeaderStyle is that it can "bundle" multiple styles in one tag which can be
accessed with an unique ID, whereas the styles set via setStyle are only unique because of their selector.
Adds the given CSS styles to a style tag in the document head with the given ID.
Optionally removes an already existing style tag with the given ID before creating the new one.
!!! Note !!!
If used extensively (e.g. many calls during rendering of configurator) this method is not very performant and should be used with great care and only if really necessary.
Usually setStyle should be preferred over this.
The one great advantage of addHeaderStyle is that it can "bundle" multiple styles in one tag which can be accessed with an unique ID, whereas the styles set via setStyle are only unique because of their selector.