mazipan / vue-select-image

✅ Vue 2.x component for selecting image from list

Home Page:https://mazipan.github.io/vue-select-image/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reset initial selected image dynamically

kevin-zokpe opened this issue · comments

Is it possible to achieve it ?

I don't know what do you mean with "dynamically".
Can you give me a case study or any code sample for your need.

I manage to achieve my goal by editing the component itself. I needed the selected image to change according to each user as they appears randomly

singleSelected: {
          id: ''
        },

I added a new prop :

speaker: {
        type: Object,
      },

Then I 'watch' this value and change it dynamically, Hope i'm being clear ? French is my native language so :p

regards