A javascript library that helps to execute a function whenever you scroll to an element.
Questions tagged [waypoint]
49 questions
3
votes
1 answer
Waypoints counter counts up (then down) and doesn't execute script when div is in immediate view
I have a number ticker which counts up. For demo purposes, this is how the counter is meant to work. It counts up and then stops.
Now, I'm trying to get the ticker script to execute when the #ticker is in view. To do this, I'm using waypoints.…

Freddy
- 683
- 4
- 35
- 114
3
votes
1 answer
JS with EasyPieChart and Waypoint not executing
I have a simple question as I'm not to deep into JS coding.
What is wrong with the following code-snippet and why isn't it executing as expected.
(-> loading the charts as soon as they come into view)
var waypoint = new Waypoint({
element:…

Toxicterror
- 45
- 3
2
votes
1 answer
Animate elements with the same class individually with waypoints.js and anime.js
I have this script that animates a title when it enters the viewport with viewport.js and anime.js:
$(".title").waypoint(function() {
anime.timeline({loop: false})
.add({
targets: '.title span',
rotateY: [-90, 0],
duration: 1300,
…

Biels
- 342
- 1
- 3
- 9
1
vote
1 answer
Determine which section is currently dispayed with react and Waypoint
I have quite simple react application:
App.js:
render() {
return (
);
}
BaseLayout:
import React, { useEffect, useState } from 'react';
import Navbar from "./Navbar";
import Section1 from "./section1/Section1";
import Section2…

Unnamed
- 111
- 8
1
vote
0 answers
Polygons not fully deleted on .Clear and 1st marker connecting problem
I am using gmap.net and I am trying to delete the polygons on my map. When I do .Clear() , they're deleted but when I click again on the map, the old polygons I just cleared appear again on the map. Also when I click the to add a 3rd marker ,…

smfa3
- 11
- 1
1
vote
4 answers
How to change the default docker registry in HashiCorp nomad
I want to change the default docker registry configuration in nomad. I am setting up a nomad cluster in enterprise VM, which connects to frog artifcatory docker registry. Any docker hub images reference has to go through the internal artifactory…

Sanjeev Kumar
- 43
- 7
1
vote
1 answer
How to fix argument out of range exception that happens on closest waypoint patrolling ai
Hello I am new to c# and unity anyone know how to fix argument out of range exception that happens on this code im working on. This code is used for finding closest waypoint AI, i've tried changing the integer but to no avail.Thank you for taking…

Nicholas Nathaniel
- 11
- 1
1
vote
1 answer
Leaflet to calculate the distance between 3 points - Search in javascript array object
I want to subtract the distance to the Leaflette waypoint from the total distance. How can I do that?
routes: Array(1)
0:
coordinates: (379) [D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D,…

storedprocedure
- 152
- 1
- 16
1
vote
1 answer
Wagtail Pagination issue with Waypoint Infinite Scroll
I've implemented Waypoint Infinite Scroll just fine on a regular Page model for art gallery items. Those items can be added to a shop with a checkbox. I then use a Shop page to filter the gallery items that are marked as on sale. For some reason,…

dev-jeff
- 173
- 9
1
vote
1 answer
Trying to change agm direction waypoints marker's icon ONLY
I developing a project where I am using from angular google map api. Actually I want to display a direction which has an origin, a destination and between those some waypoints/stepover. Please find my object below:
public…

Dayvid Kelly
- 114
- 12
1
vote
2 answers
React-waypoint topOffset example code or how to use in reactjs
Can any one please tell me or send me sample code for how to write the code for topOffset in react-waypoint please.

Nadim
- 41
- 1
- 4
1
vote
0 answers
If pass a composite component to Waypoint, why need to wrap it with React.forwardRef?
https://www.npmjs.com/package/react-waypoint#children
I am reading this post, why passing a composite component to Waypoint needs to wrap it with React.forwardRef? Can I just wrap the composite component with div then I don't have to wrap it with…

Tianbo Zong
- 11
- 1
1
vote
0 answers
Appending lazy-loaded elements to ul causes scrollTop to jump to zero
I'm using waypoint.js library to detect when the user has scrolled to the bottom of the ul. this then triggers an axios call to my server, returning an html string. I am creating elements from this string using a template tag, removing some…

DalThePal
- 33
- 3
1
vote
2 answers
Is there a way to in WayPoints to say offset from actual website top vs the current top of the browser window?
I have a logo that starts in with a basic SVG animation. When a user scrolls down it fires off another animation that pushes the logo sideways and shows part of the logo. When you scroll back up, the logo slides back into view.
This all works…

Birdie Golden
- 505
- 6
- 20
1
vote
1 answer
Unity Finding difference between A and B in a list efficiently
I am trying to calculate difference in numbers between 2 Points, from a list of about 90 points. The code I have so far:
int positiveCounter = 0;
int positiveResetCounter = currentWayPointID;
int negativeCounter = 0;
int…

snake555510
- 81
- 1
- 1
- 11