Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Reset initial selected image dynamically #18

Open
kevin-zokpe opened this issue Apr 10, 2019 · 2 comments
Open

Reset initial selected image dynamically #18

kevin-zokpe opened this issue Apr 10, 2019 · 2 comments

Comments

@kevin-zokpe
Copy link

Is it possible to achieve it ?

@mazipan
Copy link
Owner

mazipan commented Apr 10, 2019

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

@kevin-zokpe
Copy link
Author

kevin-zokpe commented Apr 11, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants