Category "javascript"

I am not able to implement recordrtc

I am not able implement recordrtc. I took the following code from the site: https://medium.com/@coolchoudharyvijay/use-mic-in-angular-to-record-audio-simplified

Apollo-Server display errors in a clean mannor

I'm pretty sure that the question is self explanatory. I'm using 'apollo-server-core' 3.6.5 Errors I want to get { "errors": [ { "messa

Javascript window.load events not triggering without using setTimeout

This question pertains to a shopify cart page. I am trying to manipulate a page on load with Javascript. 'DOMContentLoaded' was not reliable enough so I am usin

How to add bootstrap 5 and other global packages to a SvelteKit project?

I installed bootstrap using NPM In a normal svelte project I usualy add bootstrap and other packages, which are used project wide, in the App.ts file. However,

Parsing & Checking Condition Expression in Javascript

I have string that have variable conditions in it, like this: (@IS_VERIFIED = 'True' OR @CONFIRMATION_NEEDED != 'True') AND @REQUEST_LIMIT != '0' This is jus

Javascript + PHP /// read barcode

I want to read a barcode using a library to barcode decoder or read by javascript or PHP? I browse many sources but can't reach find one to read the barcode

Blogger Conditional Tag If a Post has Spesific Label

im trying to Execute some Javascript code like this <b:if cond='data:blog.pageType == "item"'> <script type='text/javascript'> //<![CDATA[

How to re-run multiple functions in JS on button click?

In the snippet below, I'm generating random parts of a URL and that spits out an image from placeimg.com. However, I'm trying to re-run the functions that gener

VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders

Im working on a react-native project and what I'm trying to do is for the user to have the possibility to select phone numbers in his contact list. When the use

Dropdowns and filters not applied with REACT

I'm not able to display my menus (_ids.name) that match my filters from the 2 dropdowns (MyNorm1,...MyNorm6) and (Classification1,...Classification6). For examp

How to use class style components in nuxt.js?

I setup a nuxt3 project. and I want to use class style components but when I am installing vue-property-decorator, I am getting below error. Can anyone have ide

Automatic letterbox scaling HTML5 Canvas

In Construct 2 engine there is an automatic letterbox scaling for the game canvas. I've tried to do this in my Javascript game, but i couldn't get the same resu

How to draw Genogram relationship tree using ReactJs?

I'm looking for a simple Javascript Library (SVG) for the ReactJs module that allows me to draw family tree relationships. I've already referred GoJs Genogram.

Create restrictions on the Laravel registration form

I want to create a registration form in Laravel that the user can only register once in the registration section of the site during a period of several months,

Trying to send props value once only in react JS

I have make a slider using carousel at Trip.js and in Home.Js I have created a review section by my self using useEffect and Everytime the slide changes it retu

how to swicth to a metamask pop up in chrome with a python selenium script

i am on rarible.com minting a nft with metamask i go threw the hole process then in the chrome browser a metamask pop up appears to click confirm the transactio

Other ways of showing prop-based conditonal text in Vue?

I have a component that renders text based on the users membership status and I want to change the interpolated text based on that prop value. Is there a more e

how to style children elements in react native?

is there a way to select children of the element I am styling in react native? css example of what I am trying to achieve: div > *

Add array of objects as elements to existing table td

I have an existing table. I have the td cells displayed as blocks intentionally. :) My goal is to add labels inside each of the td's by creating spans with a sp

how to customize tooltip width in bootstrap

I have a bootstrap tooltip like the following. <i class="fas fa-question-circle" style="color: #f44336; cursor: pointer;" data-toggle="tooltip" data-plac