Category "javascript"

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

I am getting an error in my npm when trying to install expo-cli globally

When I try to install npm globally, using the command npm install -g expo-cli I am getting an error that says npm install -g expo-cli npm ERR! code ERR_OSSL_U

Why babel alias did not work when set up was all correct?

1.I'm building a react project and try to use Babel to simplified the import. Here is the code for babel.config.js file. module.exports = { presets: ['modul

javascript object Assignment an array

i have an object and with specific key a assign an array denemeobject['items'] = Object.values( JSON.parse(results.rows.item(index).BarcodeArr

Chrome extension message sending from background to content issue

I'm trying to send the current active URL from any updated tab to it's respective content script with the code below. I'm having trouble confirming receipt of a

How to extends abstract class from template in TypeScript?

I have an architecture like that and I want to extends my TemplateService with a template but actually I have an error on it. Is there a way to extends an abstr

Remove some element in iframe with jquery

In the code below, with jquery, I'd like remove element (and the child 'li') and after that add some code to the Could you tell me how do this ? <iframe id

check number equality in Javascript

I have numbers that will be coming from database with this format "+2349091736209" and I want to compare each number with a number I get from user contacts list

Redux Toolkit: How can I store a serialized action creator in state?

Question I am using Redux Toolkit and I want to store an action creator in state. When I do this, I receive an error regarding non-serializable values in my act