javascript Questions
2
Solved
I'm using Chart.js to generate some charts. The line chart requires labels. I can't seem to figure out a way to change the color of those labels.
var chartGood = "rgba(50,182,93,0.5)";
var lineCha...
Hum asked 19/3, 2014 at 17:0
3
Solved
I just trying to create a custom Formik <Field />. It is a <input type = file /> with opacity=0 and depending of values i styling my <Error /> component and <input type = text ...
Demiurge asked 5/7, 2020 at 9:48
5
Solved
If there a way to do a conditional logpoint in Chrome Devtools?
I KNOW how to add a logpoint or a conditional breakpoint;
I DON'T KNOW if is there a way to add a conditional logpoint (a logpoint l...
Repressive asked 17/6, 2022 at 7:46
4
I am implementing chrome extension using GWT.I have created the mapping in manifest.json & written the external java script file.In the background.js script,i have written function,in that set ...
Eurythmics asked 23/1, 2013 at 13:39
4
I'm using pdf.js with text selection.
So pdf.js creates a bunch of absolute positioned divs containing the various text from the pdf to supply text selection.
While dragging to select the text, t...
Malpighi asked 5/4, 2014 at 0:37
2
How to store, read and delete cookies and sessions in Nest.js?
Should I use this:
@nestjs/common > session
Or should I use js-cookie?
Bryon asked 2/5, 2019 at 7:56
3
Here's my jest config inside of package.json:
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"moduleDirectories":["...
Privet asked 25/6, 2021 at 8:44
3
I am gettting an api response using axios.
I am sending the api response sorted w.r.t name http://localhost:8000/api/ingredients/ordering=name
The actual object sent is as below from my server.
...
Pagurian asked 9/12, 2017 at 10:3
3
We have a system (Power TAC) that has been building successfully for several years on multiple versions of Linux, Windows, and MacOS. Under Pop!_OS 22.04 (Ubuntu 22.04 with a slightly different app...
Clymer asked 4/6, 2022 at 1:31
3
Solved
I want to play sound, after my page has loaded.
Here is my JavaScript code:
var playAudio = $("#sound")[0];
playAudio.play();
Here is my HTML code:
<audio id="sound">
&l...
Kuntz asked 20/11, 2020 at 12:47
7
Solved
I need to merge JSON objects with same key into one so that it gets an object or array(doesn't matter if result is an object or array) which holds the key and an array for the values
example JSON ...
Johnjohna asked 21/12, 2017 at 11:17
3
Solved
I have a content script with a lot of functions in it, i would like to be able to split out those functions into other scripts
Is there any magic needed to call other scripts from the content scri...
Falcate asked 31/10, 2013 at 21:42
4
Solved
I have this array:
rows = [ [ 89, 18, 9 ], [ 1903, 3, 4 ], [ 3, 1, 800 ] ];
It should look like this:
[ [ 89, 1903, 3 ], [ 18, 3, 1 ], [ 9, 4, 800 ] ]
And the code, that is working, looks lik...
Fleuron asked 5/3, 2018 at 22:54
3
Solved
I find this "code highlighting" very annoying. Can someone show me how to disable it on PHPStrom, and perhaps explain why this happens?
Here's an image of my Js/Jquery code on PHPStorm IDE:
Siphonophore asked 30/6, 2015 at 19:28
7
I am running the angular app in my local machine in the VS code when I fire the command npm install in my VS code terminal I am getting below error
gyp ERR! stack Error: unable to get local issuer ...
Nonesuch asked 24/6, 2021 at 7:38
6
I am working on a project with AWS-SDK V3, Cognito and AWS. I am struggling to setup basic functions, and keep getting errors like: ReferenceError: Property 'ReadableStream' doesn't exist. I can't ...
Angelika asked 2/1 at 7:10
2
Solved
I have an images directory that I want to watch. The directory can have many different file types. I know you can specify a list of file types for nodemon to watch, but how can I tell nodemon to wa...
Gaitan asked 15/11, 2014 at 19:5
7
I appreciate your time and help. I spent hours trying to figure this out can't seem to get to the bottom of it.
I have this react component:
import styles from './style.scss';
class ButtonCompon...
Preconcert asked 7/2, 2018 at 23:51
4
im having this issue which is breaking my head right now and I cant figured out what is the problem.
I have a form called device-form, which is called from the dashboard using routing. The device f...
Rubicund asked 27/2, 2018 at 15:33
3
i am using cropperjs to crop images
Using the method getCroppedCanvas to get reference to the cropped canvas image
Using the canvas method canvas.toDataURL to compress the images into a jpeg file...
Sweepstakes asked 13/7, 2017 at 10:49
2
Solved
Trying to understand why the two cross-browser properties of Javascript Error object, namely "name" and "message", can't be found using the "for ... in" method
// error code
...
}catch( err ){
...
Jacklyn asked 27/3, 2013 at 9:20
4
Solved
I am trying to fix memory leaks in IE 7. Using Drip for investigations but it is not helping much when most dynamically generated DOM elements do not have unique ids.
Tips?
Gentleman asked 18/9, 2008 at 18:27
1
I am building a little local dev/testing/documentation environment for some components which are used across different projects and so want to create them as individual npm packages.
Everything was...
Lithea asked 20/5, 2022 at 23:17
4
I was looking at Nestjs documentation to set up a microservice that listens to RabbitMQ messages. It's very straight forward when I have to listen to one queue. What if there are multiple queues th...
Mcmath asked 17/7, 2020 at 8:3
5
Solved
There is a nifty feature in Chrome's Developer Tools which allows you to pause animations and control their speed, but the problem is they're mouse-controlled buttons. Sometimes I need to pause an ...
Whiffet asked 6/3, 2015 at 12:45
© 2022 - 2024 — McMap. All rights reserved.