2,533,034 questions
0
votes
0
answers
5
views
Glide.js execute script after API rewind is executed
I did setup a rail with Glide.js
I need to rewind it and then execute some other code but I don't know how to stop my script untile rewind is completed
I did try with jQuery when since it returns an ...
0
votes
0
answers
8
views
After enabled LWS in sandbox windows.location.hostname is returning null
I am unable fetch the base url using window.location.hostname due to LWS being enabled in the sandbox. If LWS disabled it workings fine. Any solution would be much appreciated.
alert(window.location....
0
votes
1
answer
8
views
react formik to have null as default value if input is cleared
In my reactjs i am using formik
const formikPaymentForm = useFormik({
initialValues: {
ezidebitAmount: null, // or undefined
},
validationSchema: Yup.object({
ezidebitAmount: Yup.number()...
0
votes
0
answers
16
views
JS Variable outside function / global var [duplicate]
probably a stupid/very simple question but I can't figure it out. I get the sat_id from an API, which I want to append to a new API URL. So I need the sat_id outside the function. How do I do that?
...
2
votes
0
answers
8
views
Swiper.js not working properly, when looped and slidesPerView is given (React.js)
I am using swiper.js/react, I had to create a carousal having next and prev buttons to move single slide, also need to add buttons to move the pages by the given breakpoints in the code (in accordance ...
1
vote
0
answers
8
views
leetcode graphql query. Deployment problem
I'm trying to create leetcode user statss application. But when I try it on localhost it is working properly without any issue but when I deployed it on vercel it and try to find a user's profile it ...
0
votes
0
answers
12
views
Issue with Hover Functionality on 3D Surface Plot in Plotly version 2.35.2
I am experiencing an issue with the hover functionality on a 3D surface plot created using Plotly.
When I move my mouse over the edges of the graph, it seems like the hover interaction does not extend ...
1
vote
1
answer
19
views
Does the Navigate "to" support second level forwarding?
Here is my app.jsx
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import OTAndTOGateKeeper from "./components/otAndTO/OTAndTOGateKeeper.jsx";
import LoginForm ...
0
votes
0
answers
17
views
Get S3 Directory Names
I am trying to write up some JavaScript to connect to S3 and spit out all of the directory names inside of the "data" folder. There are hundreds of "data/id=___" folders and I am ...
0
votes
0
answers
4
views
Animating ball around SVG path in React-Native
I am trying to animate a ball around an SVG path in React-Native and am not quite sure how to go about doing it, the SVG path is a pill shape.
Here is my code so far,
<View style={styles.container}&...
0
votes
0
answers
10
views
Toast Notification not showing when replacing file in Upload Compnent of Ant design
I'm using Ant design's Upload Component in my code to enable file uploading and replacing.
Following are the props I've defined:
const uploadProps = {
beforeUpload: async (file) => {
// ...
1
vote
0
answers
24
views
Open pdf in pdf-js viewer from streamlit app
I have a streamlit app, and I want it to display a pdf in an iframe. My functionality requirements for my pdf viewer/iframe are:
I want the pdf to open to a particular (parameterizable) page
I want ...
0
votes
0
answers
21
views
How to Display Smooth, Continuous File Processing Progress?
I'm building an Electron app where I need to process large files/folders by splitting them into smaller chunks (ex: 512MB each) and display real-time progress to the user. However, the progress ...
-4
votes
0
answers
34
views
Fastest algorithm to search via keywords on static website? [closed]
I'm hosting a static website on github pages (without jekyll) and I'd like to implement a search feature on client side
I have keywords each pointing towards a link as such:
search_map={
["...
-1
votes
1
answer
44
views
Nothing happened when I click on button in a Web project
I have this button in HTML:
<div id="login">
<img src="/resource/image_header/login.png" alt="Login">
<div class="cd-main-nav ...