Is it possible to set a class in Vue based on the value of a parameter and conditionally add another class if that parameter meets a certain condition? Can these two functionalities be combined into one class assignment?
<button :class="'btn btn-primary modal modal-' + modal.id"
:class="{'modal-active' : modal.active}">
</button>