Comments (6)
It doesn't work for me I get these errors:
ERROR in node_modules/ng-scrollreveal/services/ngs-reveal.service.d.ts(1,23): error TS2688: Cannot find type definition file for 'scrollreveal'. node_modules/ng-scrollreveal/services/ngs-reveal.service.d.ts(9,19): error TS2503: Cannot find namespace 'scrollReveal'. node_modules/ng-scrollreveal/services/ngs-reveal.service.d.ts(27,63): error TS2503: Cannot find namespace 'scrollReveal'. node_modules/ng-scrollreveal/services/ngs-reveal.service.d.ts(35,109): error TS2503: Cannot find namespace 'scrollReveal'.
I tried so much to get ScrollReveal to work but it just wont work
from ngx-scrollreveal.
have you declared it in your scripts in your JSON file?
"scripts": [
"../node_modules/scrollreveal/dist/scrollreveal.js"
],
looks like it might not be. if you post your project somewhere I can debug it for you.
from ngx-scrollreveal.
Thanks for the Reply!I do have it declared in my scripts Array. I tried .min.js and .js but both give me this arrow. However somehow it works no, I can set ngsReveal to an Element and it is animated but the error still shows up in my console...
from ngx-scrollreveal.
Did you install the typings for ScrollReveal JS?
npm install --save-dev @types/scrollreveal
from ngx-scrollreveal.
That seems to be the solution. Thank you so much for helping!
from ngx-scrollreveal.
@JonasJW : I was literally writing a response just now... you beat me by 1sec!
Thanks @botoxparty for your answers! i'd have given the same ;)
Closing now
from ngx-scrollreveal.
Related Issues (20)
- Can't bind to 'ngsReveal' since it isn't a known property of 'div' and nothing works HOT 3
- Action required: Greenkeeper could not be activated 🚨 HOT 1
- Issues with config.container HOT 7
- Cannot use NgsRevealModule Module in Angular 16 HOT 2
- Update for Angular 4 HOT 2
- Problem with Angular Universal (Server Side Rendering) HOT 5
- Cannot find namespace 'scrollReveal' HOT 13
- Angular 4.4.5+ HOT 3
- ScrollReveal is not defined in Angular CLI: 1.5.4 HOT 1
- Scrollreveal with custom scrollbar like ng-perfect-scrollbar HOT 1
- support scrollreveal 4.0.0 HOT 3
- Demo not working HOT 1
- [Angular] Can't bind to 'ngsSelector' since it isn't a known property of 'div'. HOT 1
- Documentation not working HOT 2
- Cannot use with ngFor and custom directive HOT 7
- Wrong reveal/hide behaviour!!
- How can I use it with lazy module? HOT 2
- Is this ngx-scrollreveal is free for commercial use ? HOT 1
- Error in jest test HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-scrollreveal.