[Vuejs]-Vuejs get attribute from button

1👍

If you want the value of tblid you could just send that as parameter in the even listener function instead of using the event object.

<button tblid="tbl1" @click="buttonClick('tbl1')">
    Button 1 tbl1
</button>
👤arm

Leave a comment