0

How can I target a nodeList in vuejs? querySelectorAll returns undefined. I'm only able to target an element using this.$refs

Targeting DOM elements in vuejs

1st Feb 2021, 6:15 AM
جوردن آهو ماولی
جوردن آهو ماولی - avatar
1 Odpowiedź
0
I just solve it. I used the mounted life cycle hook. I targeted in the mounted hook and it worked.
1st Feb 2021, 6:43 AM
جوردن آهو ماولی
جوردن آهو ماولی - avatar