samarthagarwal / ScrollingHeader

12 stars 11 forks source link

Issue during build an application #1

Open abhinpai opened 6 years ago

abhinpai commented 6 years ago

Hey Smarath, This tutorial work like a charam in browser but while building an apk i found an error like

" Can't bind to 'header' since it isn't a known property of 'ion-content'."

  1. If 'ion-content' is an Angular component and it has 'header' input, then verify that it is part of this module.
  2. If 'ion-content' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
  3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. (" <ion-content padding hide-header hide-fab [ERROR ->][header]="head"> <ion-item *ngFor="let item of items | async" (click)="selectSh")

could you please help me out to sort this issue, Thank you

samarthagarwal commented 6 years ago

Try adding schema: NO_ERRORS_SCHEMA to the module declaration.

kirillusgadus commented 6 years ago

schema: NO_ERRORS_SCHEMA

this way not work for me

hicham-alsayed-ahmad commented 6 years ago

same problem with ionic 3

wilsolutions commented 6 years ago

same problem on ionic 4