These are chat archives for angular/material

18th
Jan 2018
hussainwali74
@hussainwali74
Jan 18 2018 16:11

<div fxLayout='column' class="zero">

<div fxFlex="33" class="one" ></div>
<div fxFlex="33%" [fxLayout]="direction" class="two">

<div fxFlex="22%" class="two_one"></div>
<div fxFlex="205px" class="two_two"></div>
<div fxFlex="30" class="two_three"></div>

</div>
<div fxFlex class="three"></div>

</div>
error:
``
Uncaught Error: Template parse errors:
Can't bind to 'fxLayout' since it isn't a known property of 'div'. ("

<div fxFlex="33"                          class="one" ></div>
<div fxFlex="33%" [ERROR ->][fxLayout]="direction" class="two">

  <div fxFlex="22%"    class="two_one"></div>

"): ng:///SharedModule/WelcomeComponent.html@75:22
Please help any one?

I have installed the flex-layout module it is showing in package.json but when I try to use the directive it gives me error..I tried this simplest example from the documentations page it gave me error..
djtahl
@djtahl
Jan 18 2018 16:16
@hussainwali74 did you import FlexLayoutModule in your app module ? see documentation here : https://github.com/angular/flex-layout/wiki/Using-Angular-CLI#import-the-angular-flex-layout-ngmodule
hussainwali74
@hussainwali74
Jan 18 2018 17:23
@djtahl yes I have imported it
brahimkra
@brahimkra
Jan 18 2018 17:24
HI
i have this error when i 'm using jsPDF
ERROR Error: Incomplete or corrupt PNG file
at new e (jspdf.min.js:157)
hussainwali74
@hussainwali74
Jan 18 2018 18:20
hey @djtahl thanks I got it