I have this custom structural directive,
<div *someDirective>
which shows div, if some condition is satisfied.
Now, I need to do conditional styling:
<div [ngClass]="SelectedProductId !== 0 && *someDirective ? 'w-23' : 'w-30'"
but this obviously throws errors.
It seems like impossible. So my question is, is this possible somehow to achieve at all?