const foo = (function(){
}).bind(this)body:after{
background: url(path/to/image);
background-size: cover;
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
content: '';
z-index: -1;
}ReferenceError: CodeMirror is not defined(function(mod){
. . .
})(function(CodeMirror){ . . . })host: {
"[@state]":"visible?'expanded':'collapsed'"
},animations: [
trigger('state', [
state('collapsed', style({})),
state('expanded', style({})),
transition('*<=>*', animate(300))
])
] <input type='color' [(ngModel)]='myColor' />
<div class='myElement' [ngStyle]='{backgroundColor: myColor}'>
....
</div>//...
myColor: string;
//...<input type='color' #myColor />
<div class='myElement' [ngStyle]='{backgroundColor: myColor.value}'>