Page generated at 2016-08-19 09:38:26 +0000
Style Component
Inline styles
Appending to style
tag
Plain HTML
<head>
<!-- ... -->
<style component="style"></style>
<!-- ... -->
</head>
Example
<div id="style-example"></div>
$(function(){
component.require(['style'], function(style){
style.append('#style-example{padding: 10px; background: tomato;}');
});
});