Displaying DB html and binding

Hey all! I’m grabbing data from a db and displaying it using v-html, but I also need to either bind a class to the content but I can’t because I’m using the v-html directive, are there any other solutions?

Where is the binding class coming from; the db html?

If not then why not wrap v-html in a div?

<div :class="something">
   <v-html="dbStuff" />
</div>

Perhaps?

Thanks for the reply, and yeah, the binding whould be in the database. One solution I’ve thought of is to modify the data on the backend before it hits Vue. Basically I need to hide or show a button, but the button is surrounded by html in the database and I need someway to show/hide it