[Vuejs]-Set property dynamically in Vue component for angular

0👍

I think in Angular you can only do this

<my-vue-web-comp [userId]="usersInfo.userId"></my-vue-web-comp>

or this

<my-vue-web-comp userId="{{ usersInfo.userId }}"></my-vue-web-comp>

if both do not work try this

<my-vue-web-comp user-id="{{ usersInfo.userId }}"></my-vue-web-comp>

Leave a comment