Category "javascript"

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

React using state array without mutation

Can the below code be refactored so as to not mutate the state array. Basically, I want that as I navigate the app back and forth via props.history.push, it sho

How to set setUserProperty

To set the value for the user ID, set the value with setUserID and set the value. To get the value of the user ID also in the user property You also need to set

guildMember is not defined

I was trying to make welcome message when someone gets on my server but I am trying to do so it takes embed from another file. It says guildMember is not define

How the best and fast way to send multiple data into google spreadsheet?

I want to send multiple data using chrome extension into Google spreadsheet. I tried using loop but sometimes it's replacing the data in the current process. I

override javascript methods in mail/static/src/js/chat_manager.js of Odoo 11

I am trying to override 2 Javascript functions in the Odoo 11 under mail/static/src/js/chat_manager.js The first one is make_message function make_message (data

Is there any way to add ui-element, ElMessageBox confirm button click event?

When I delete a data from the table, I want it to pop up a warning in the middle of the screen first.Delete function is ready,i just want to add confirm button

Refresh Json Data in VueJsonCSV component - VueJS

I'm using the VueJsonCSV component to export this data to csv. The values for these are retrieved from Vuex Store. <template> <v-btn depressed> &l