This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
flex-layout is not applying the inline styles on host elements #76
Closed
Description
flex-layout is not applying the inline styles on host elements where the host elements are getting their flex-layout attributes via @HostBinding
@Component({
selector: 'column-node', //flex-layout not working on host elements
host: { '[@visibility]': 'visibility' },
template: `<ng-content></ng-content>`,
})
export class LayoutColumnNodeComponent {
@HostBinding('attr.fxLayout') fxlayout = 'column';
}
fxLayout
attribute is added in DOM <column-node fxLayout="column">
but flex-layout inline styles are not being applied.