@Directive({
selector: '[myHighlight]',
})
class MyDirective {
@HostBinding('style.background-color')
backgroundColor:string = 'yellow';
}
@Directive({
selector: '[myHighlight]',
host: {
'[style.background-color]': '"yellow"',
}
})