I am in need of assistance regarding a directive named my-custom-directive
.
Here is how I am currently implementing it:
<my-component
v-model="things.value"
v-bind:error="things.error"
v-my-custom-directive>
</my-component>
Within the context of my-custom-directive
, how can I determine if the my-component
element has the v-bind:error
attribute?