We're a place where coders share, stay up-to-date and grow their careers.
I really like this. And you can also use v-bind to pass an object thus passing multiple props in a compact way or even a calculated way dependent on the item type. Same for event listeners with v-on.
Exactly! I did this in the project I was working on but wanted to keep the example simple. Thanks for the reply 😊
I really like this.
And you can also use v-bind to pass an object thus passing multiple props in a compact way or even a calculated way dependent on the item type. Same for event listeners with v-on.
Exactly! I did this in the project I was working on but wanted to keep the example simple. Thanks for the reply 😊