toriphes / ion-header-scroll-opacity

Change header background opacity on content scroll
MIT License
8 stars 4 forks source link

Please add a @Pipe/@Directive/@Component annotation. #3

Closed kabubi closed 5 years ago

kabubi commented 5 years ago

Hi, i follow all steps but when i run "ionic serve" i have this error. Any idea why? Unexpected module 'IonHeaderScrollOpacityModule' declared by the module 'AppModule'. Please add a @Pipe/@Directive/@Component annotation.

kabubi commented 5 years ago

Right now i try addind the directive on page module too and moving IonHeaderScrollOpacityModule to imports but now i have this error: "Neither toolbar or navbar found for header-scoll-opacity directive" What im doing wrong? Thanks

kabubi commented 5 years ago

Hello?

toriphes commented 5 years ago

Hello @kabubi ! Sorry for the late answer.

Do you still have the problem?

toriphes commented 5 years ago

@kabubi can I consider this issue as closed?

toriphes commented 5 years ago

I'm closing this issue. Feel free to re-open if you have any trouble.