Skip to content

Instantly share code, notes, and snippets.

@yyx990803
Last active January 30, 2019 17:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save yyx990803/bf1cf3116b365cc581d2ad51906c4f3d to your computer and use it in GitHub Desktop.
<div v-bind:[attr]="value"></div>
<div :[attr]="value"></div>
<button v-on:[event]="handler"></button>
<button @[event]="handler"></button>
<my-component>
<template v-slot:[slotName]>
Dynamic slot name
</template>
</my-component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment