javascript Questions
3
I want the time picker (https://ionicframework.com/docs/api/datetime) to rotate endless.
If I select hours I start at 0 and end at 23. When I’m at 23 I have to scroll all the way up to get to 0.
Wh...
Luxemburg asked 30/3, 2022 at 14:46
2
I'm currently creating a mechanism to filter items by a query string.
I want to convert this to locale-aware version (basically, case-ignorance in English, but also for Japanese Kana):
return ite...
Longtin asked 29/3, 2017 at 8:26
3
Solved
Is there a way to store in a variable a cookie creation date? I'm using the jquery.cookie plugin. If there is not a way, I'm thinking about store in the cookie, as value, the actual time/date. It c...
Serviceberry asked 18/7, 2013 at 11:23
5
Solved
Hi have been having troubling importing inline svgs into my nuxt3 vite project. Any advice would be much appreciated.
i found this works <img src="~/assets/images/icons/push-icon-chatops.sv...
Byelaw asked 1/10, 2022 at 9:49
4
Solved
Is there a succinct operation in JavaScript (ES2015) that does this:
x => x === undefined ? 0 : x
I keep running into situations where I want to increment x, but it's initially undefined, so ...
Anelace asked 4/1, 2017 at 2:57
3
I am creating a DataGrid where I want to show the values of ready_by and name that you can see in this picture:
In the code, I have configured it in this way: (focus on the last two)
const columns...
Lemures asked 30/3, 2022 at 16:2
5
Solved
I want to validate a 12-Hours time format like (01:05 PM) in PHP, Javascript and HTML.
I tried this:
((([1-9])|(1[0-2])):([0-5])(0|5)\s(A|P)M)
But I don't know why it doesn't work.
Bohemia asked 27/2, 2016 at 8:40
3
Solved
When I added my custom task I started getting some errors and I'm not sure how to solve it. I was following the example from RWA: https://github.com/cypress-io/cypress-realworld-app/blob/develop/cy...
Intercostal asked 28/10, 2020 at 2:11
6
Solved
I created a jsx variable to embed a video into my html.
Every other answer says to include
muted
defaultMuted, and
playsinline
(which I already have).
The videos autoplay in safari, chrome and f...
Finch asked 19/12, 2019 at 6:57
1
I was experimenting on module alias for typescript and it works during dev, but when I try to build it I always get cannot find module because it is pointing to src file even on build.
I tried repl...
Knossos asked 25/9, 2019 at 12:49
4
I know that JavaScript now has sets, but I wonder if there is something to realize the function of multiSet, or if there is some framework that has the functions of multiset which I really need a l...
Saldivar asked 21/8, 2015 at 4:12
2
I use Google Chrome on Linux Debian 10. And I download many files by this (thousands). And I should to export links, I downloaded files from. I was looking for method in the Internet and found some...
Spalla asked 11/10, 2020 at 10:36
6
I'm trying to log the network calls in the browser. For my use case I require the browser to be in an open state and should be closed only with the scripts. I am currently using the page.pause() fu...
Incorrupt asked 1/6, 2022 at 13:9
2
Solved
I have a single landing page nextJs application it is possible to redirect all * to specific routes as we do in react-router like this how can I do exactly the same in nextJs
<BrowserRouter>...
Shanna asked 6/4, 2022 at 15:19
3
Solved
Trying to use ES6 arrayObj.sort(a,b) => a.property.localeCompare(b.property) syntax but getting error:
TypeError: a.property.localeCompare is not a function.
I'm thinking localeCompare is not ...
Aunt asked 18/9, 2021 at 13:15
5
For frontend react, I am using ReactKeycloakProvider as a way to require user to login, then token should be stored into Keycloak from 'keycloak-js'.
<ReactKeycloakProvider
authClient={MYKEYC...
Offertory asked 12/1, 2023 at 3:40
4
Solved
I used to get auto-complete and intellisence hints earlier but now I don't get auto-complete, nor do I get squiggly red line for errors. What do I do? Please help. I already spent 2 hours searching...
Maressa asked 15/5, 2022 at 19:29
2
Description:
The error is thrown when I add a custom link into a slate editor at current cursor position and use tab or space after the inserted link.
This is the code I am using to add my custom l...
Athalia asked 20/12, 2021 at 15:45
7
I am using exceljs npm to export data in excelsheet. As my content in the cell is huge so I wanted text to be wrapped in the cell and should take enough height to show full content. I tried by givi...
Stelu asked 25/2, 2021 at 8:26
5
I was reading that JS recently introduced a new array method groupBy to manipulate an array such
const products = [
{ name: 'apples', category: 'fruits' },
{ name: 'oranges', category: 'fruits' }...
Torsion asked 5/8, 2022 at 17:8
3
I have a web app that accepts JS plugins. That is, JavaScript code that someone else wrote that the user wants to load into my app.
Currently I am using eval() to evaluate their JS code into the r...
Midwest asked 15/7, 2018 at 5:44
3
I want to copy all network responses from the filtered list of requests from the network tab under Chrome's devtools.
I read about the solution of copy all requests' URLs at Multiple URLs copy in ...
Overstay asked 3/9, 2019 at 4:2
2
Solved
I am trying to make a form in my angular app, but when i want to implement ngModel on my form :
<form (ngSubmit)="onSignUp()" #signupForm="ngForm">
<h1>Connexion&l...
Stearoptene asked 3/4 at 11:26
10
Solved
Need to find open and closed bracket, if the sequence of opening and closing brackets is violated, then return false.
But if don't revert right array to compare with left array, i don't make check...
Aseptic asked 24/10, 2018 at 13:2
4
Solved
Is it possible to have a website speak a welcome message to users programmatically?
Suppose I wanted to greet users with an audio message upon successful login to my website. I know that I could ...
Nonattendance asked 29/1, 2018 at 15:4
© 2022 - 2024 — McMap. All rights reserved.