Working with Attributes in Vue

Working with Attributes in Vue

Fallthrough attributes

Get attributes ( 2 Ways )

if define as prop, then will not show in $attrs

Style and Class will be merged

other attributes will replace by parent’s attributes

Turn off attribute inheritance

Manually bind attrs to the button

Bind DOM events to nested elements

can user modifier

Multiple root nodes

Attributes validation