ionic2-elastic-header
ionic2-elastic-header copied to clipboard
Can't bind to 'elastic-header' since it isn't a known property of 'ion-header'.
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'.
- If 'ion-header' is an Angular component and it has 'elastic-header' input, then verify that it is part of this module.
- If 'ion-header' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
- 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'. - If 'ion-header' is an Angular component and it has 'elastic-header' input, then verify that it is part of this module.
- If 'ion-header' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
- 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">
Please used this syntax for this error <ion-header [elasticHeader]="myContent">
@SanjayPatel90 continue. :(
same problem even with <ion-header [elasticHeader]="myContent">