Skip to content

Instantly share code, notes, and snippets.

@coderdipto
Created June 19, 2019 04:03
Show Gist options
  • Save coderdipto/06315fa1da0c26368924577e6578f2f3 to your computer and use it in GitHub Desktop.
Save coderdipto/06315fa1da0c26368924577e6578f2f3 to your computer and use it in GitHub Desktop.
Dynamic class Vue.js
div :class="['obj-' + obj.id]" style="float:right; color:red;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment