All Questions
6
questions
0
votes
1
answer
50
views
Vue3: Computed value (array) not sorting when based on Props
I am using a computed value that returns an array. This computed value is being used in a Vue component.
<component v-for="(item, index) in sortedItems" ...more props />
The prop that ...
0
votes
0
answers
311
views
How to detect changes in elements of an array passed as props in vue?
I'm working on a simple business card making project with a view.
But I met one problem.
I want to lower the array of objects with names and ages that the parent component has so that they can be ...
0
votes
1
answer
3k
views
how to pass array of different values as props in vue
everyone I hope everyone is doing great. I'm new to vue.js and was learning prop's which is pretty intersting. The thing is I want to pass an array as props and want to display it in the child ...
0
votes
1
answer
23
views
vueJs updating props even though i am method variable
I have the following method compares two array, one coming from the props and the other one from my own component. Every element that exists in my props array but doesnt exist in my components array ...
0
votes
0
answers
453
views
Vue.js: Access data of array in another component
I have a component where screenshots can be taken of the video. They are stored in an array and are displayed within the component under the video in a canvas.
What I want to achieve, however, is to ...
11
votes
1
answer
44k
views
Passing an array to a prop in Vuejs
I pass a list of values from a parent component to its child and want to receive all of the values but I only receive the last one.
This is the code for the parent component:
<app-spider-web
...