Hi, I have i problem with binding options property to masonry component. In console i'm giving this error:
Unhandled Promise rejection: Template parse errors:
Can't bind to 'options' since it isn't a known property of 'masonry'. ("
<section>
<masonry *ngIf="posts.length > 0" [ERROR ->][options]="masonryOptions" >
<masonry-brick *ngFor="let post of posts" class="brick">
"): ChatApp@13:42 ; Zone: <root> ; Task: Promise.then ; Value: BaseException {message: "Template parse errors:↵Can't bind to 'options' sin…post of posts" class="brick">
↵ "): ChatApp@13:42", stack: "Error: Template parse errors:↵Can't bind to 'optio…ttp://localhost:50000/Scripts/zone.min.js:1:7976)"} Error: Template parse errors:
Can't bind to 'options' since it isn't a known property of 'masonry'. ("
<section>
<masonry *ngIf="posts.length > 0" [ERROR ->][options]="masonryOptions" >
<masonry-brick *ngFor="let post of posts" class="brick">
"): ChatApp@13:42
at new BaseException (http://localhost:50000/node_modules/@angular/compiler/bundles/compiler.umd.js:5116:27)
at TemplateParser.parse (http://localhost:50000/node_modules/@angular/compiler/bundles/compiler.umd.js:8318:23)
at RuntimeCompiler._compileTemplate (http://localhost:50000/node_modules/@angular/compiler/bundles/compiler.umd.js:15941:55)
at http://localhost:50000/node_modules/@angular/compiler/bundles/compiler.umd.js:15869:87
at Set.forEach (native)
at compile (http://localhost:50000/node_modules/@angular/compiler/bundles/compiler.umd.js:15869:51)
at e.invoke (http://localhost:50000/Scripts/zone.min.js:1:7347)
at e.run (http://localhost:50000/Scripts/zone.min.js:1:4734)
at http://localhost:50000/Scripts/zone.min.js:1:3330
at e.invokeTask (http://localhost:50000/Scripts/zone.min.js:1:7976)
Hi, I have i problem with binding options property to masonry component. In console i'm giving this error:
Here's my component:
And app.html:
What is wrong please? Thank you.