Using Waypoints.js In Angular 4 Application
Hey Im trying to use Waypoints.js in my angular application.. I cant seem to get it to work angular-cli.js 'scripts': [ '../node_modules/waypoints/lib/noframework.waypoints.min
Solution 1:
In app.component.ts replace
declarevarWaypoint: any;
with
declareconstWaypoint: any;
will do the trick.
P.S: I am using Angular 7 at the moment and this solution works for me.
Solution 2:
Install Waypoints types for installing type for waypoint.
import * asWaypointfrom'waypoints'.
I hope it might helps.
Post a Comment for "Using Waypoints.js In Angular 4 Application"