ng-scroll-spy | Angular 4 directive that tracking scrolling | Navigation library
kandi X-RAY | ng-scroll-spy Summary
kandi X-RAY | ng-scroll-spy Summary
This directive automatically and and remove .active css class to the link base on the document scroll position. The directive use the href tag to find the corresponding HTML element. If the corresponding element close to the top of document that will be .active. Somewhere in the content.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ng-scroll-spy
ng-scroll-spy Key Features
ng-scroll-spy Examples and Code Snippets
Community Discussions
Trending Discussions on ng-scroll-spy
QUESTION
I followed this guide to set up swiper slider in my Angular 8 application.
I get the below error when importing NgxUsefulSwiperModule into app.module.ts
ERROR in ./node_modules/ngx-useful-swiper/fesm2015/ngx-useful-swiper.js Module not found: Error: Can't resolve 'swiper/bundle' in 'C:\Users\Dan\NewAngular\node_modules\ngx-useful-swiper\fesm2015'
I tried deleting the node_modules folder and reinstalling everything but it fails every time.
Can someone please tell me what I'm doing wrong?
This is my package.json file
...ANSWER
Answered 2021-Oct-14 at 06:37Looks like ngx-useful-swiper
is not compatible with the latest version of swiper
.
The error clearly states that ngx-useful-swiper
is trying to access a file that's not available in the swiper
package you just installed.
Try installing a different version of swiper
slider.
Follow these steps:
1) Uninstall the current swiper
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ng-scroll-spy
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page