Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago. Improve this question when you click on the “+” button, regenerate all fields below the existing ones, with TypeScript. I tried to rely
Tag: javascript
How to add [UP] -3 [DOWN] controls to switch between layers on a custom map?
I’ve been googling for days now, and getting kind of frustrated.. I hope anyone can help me! What I’m trying to achieve is the controls (as shown below), which if pressing the DOWN button for example, it will show the map layer which is one “floor” below the current, and set the “0” to “-1”. <— My current map looks
Separate Sort by table heading for different tables
In the following codepen I’m trying to sort by the column headers independently on two different tables. However, when I sort on any of the two tables it also sorts the columns of the other table. I tried creating a separate sort function called sortByB and using that on one of the tables but it still sorts the other table.
How to use in my case if option selected (do something)
This is my HTML and JavaScript: so as you can see in the HTML I have 2 check boxes so when I choose the checkbox “tricouri” I want to get generate a number like this: value = “T” + ’00’ + seq + “-” + newdate; and when I choose “Prod” I want to get a number like this: value
Only do click function if element is visible
So I have a search “modal box” (own html + css, not bootstrap) at the top of my page. When i click the search bar I want to open the modal box. Then when it is opened, I want to make it closable by clicking the “X” button or anywhere outside of the modal box. Opening the modal box and
How to set env in package.json which is used within .bablerc
I am trying to run Jest tests as part of a script before I then run webpack, like this. Jest only works with compiled code, so I had set my .babelrc to the following, which worked, however then it transpiled all my code in webpack which I didn’t want, in development mode I want to leave the JavaScript un-transpiled so
2 select filters on Array Values in object
I have the below data object: And a html page with 2 select boxes. In my ts file I would like to filter the tags array for selectedTag1, selectedTag2 or Both. i am not sure how to filter the array (do I need to loop through it?) AND I do not know how to combine the 2 filters (do I
VUEX, what to do when $store.state is null
When users are not logged into my website, the state of user is set to null. However, this throws up a lot of issues on some pages where i look to see if this.$store.user For example, if I were to have a simple check such as and the user is not logged in (thus, setting the state of user to
uploading and downloading storage images in firebase with VueJs
im building this simple application using Vue/vuex and firebase where i want to facilitate users upload images and once the app gets updated those images get reached from firebase storage , modifying the current database with the new uploaded image Here is my code: the images get push to the firebase storaged but once i try to modify the database
Change buttons color in a vuetify list
After having tried to figure this out for two days I thought I will ask you. I think I do have a simple problem, however because of limited knowledge I’m not able to find a solution. Basically, I do have a list with OK/NOK buttons and I want to change the background color of the (clicked) button (either green or