In Vue 2.6 release onwards, Directive arguments can now accept dynamic JavaScript expressions. i.e, the specific argument that we want to use is only known at runtime.
Let's assign dynamic key and event directives for a div element,
<div v-bind:[key]="value"></div>
<div v-on:[event]="handler"></div>