Answers for "how to set class for div based on if condition in vue"

14

vue conditional class

<div :class="{ 'prop-name': boolVar }"></div>
Posted by: Guest on March-15-2020

Code answers related to "how to set class for div based on if condition in vue"

Browse Popular Code Answers by Language