flex-layout icon indicating copy to clipboard operation
flex-layout copied to clipboard

BUG @angular/flex-layout AND Angular 4 - Cant use [ngStyle.lt-sm]= ""

Open Juliozen opened this issue 9 years ago • 2 comments

Hello Guys!! I am really in trouble with this.

I user this Dependencies: "@angular/animations": "4.1.3", "@angular/common": "4.1.3", "@angular/compiler": "^4.1.3", "@angular/core": "^4.1.3", "@angular/flex-layout": "^2.0.0-beta.10", "@angular/forms": "^4.1.3", "@angular/http": "4.1.3", "@angular/platform-browser": "4.1.3", "@angular/platform-browser-dynamic": "4.1.3", "@angular/platform-server": "4.1.3", "@angular/router": "4.1.3",

"devDependencies": { "@angular/cli": "^1.5.0", "@angular/compiler-cli": "4.1.3",

As you see i use "@angular/flex-layout": "^2.0.0-beta.10", i simple i CAN`T use [ngStyle.lt-sm]="'min-height: 800px;'"

My console.log is:

Can't bind to 'ngStyle.lt-sm' since it isn't a known property of 'div'. ("<div class="box-container" fxLayout="column" [ERROR ->][ngStyle.lt-sm]="'min-height: 800px;'">

i can still use style="min-height: 800px", etc... but this solution dosnt give the responsive feature to my system.

I use angular to be responsive and all platforms (as well).... So what should i do Guys?? Any one please can help me? Maybe it are deprecated? I really cant find the solution in changeLOG or docs ._.

Have a nice day if u read all....!

Juliozen avatar Nov 02 '17 15:11 Juliozen

General discussion and how-to questions should be posted to the community forum areas:

Closing this issue as 'invalid'. Thank you.

ThomasBurleson avatar Nov 04 '17 10:11 ThomasBurleson

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.