I'm trying to use angular2 @Input directive to get a CSS class from another component. Say I have the following:
<custom-component ngClass="xClass"> </custom-component>
I have "xClass" in the current component css file, and I want to pass this class as input to the custom-component using @Input like so:
@Input('dac-class')
private class: CSS //not sure about this;
is that possible in one way or another?