Skip to content
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
@mcwebdev

Description

@mcwebdev

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions