ionic2-elastic-header icon indicating copy to clipboard operation
ionic2-elastic-header copied to clipboard

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

Open immortalt opened this issue 7 years ago • 3 comments

Environment: @ionic/cli-utils : 1.19.2 ionic (Ionic CLI) : 3.20.0 local packages: @ionic/app-scripts : 3.1.0 Ionic Framework : ionic-angular 3.9.2 System: Node : v8.11.2 npm : 5.6.0 OS : Windows 10 Misc: backend : pro

I install this and found the error:

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

  1. If 'ion-header' is an Angular component and it has 'elastic-header' input, then verify that it is part of this module.
  2. If 'ion-header' 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. (" Ionic pages and navigation. --> <ion-header [ERROR ->][elastic-header]="myContent"> <button ion-button menuToggle icon-o"): ng:///DevicesPageModule/DevicesPage.html@6:12 Error: Template parse errors: Can't bind to 'elastic-header' since it isn't a known property of 'ion-header'.
  4. If 'ion-header' is an Angular component and it has 'elastic-header' input, then verify that it is part of this module.
  5. If 'ion-header' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
  6. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. (" Ionic pages and navigation. --> <ion-header [ERROR ->][elastic-header]="myContent">

immortalt avatar Jun 14 '18 14:06 immortalt

Please used this syntax for this error <ion-header [elasticHeader]="myContent">

SanjayPatel90 avatar Jul 05 '18 09:07 SanjayPatel90

@SanjayPatel90 continue. :(

multiarts avatar Sep 07 '18 22:09 multiarts

same problem even with <ion-header [elasticHeader]="myContent">

sidalisi avatar Oct 12 '18 16:10 sidalisi