1👍
✅
just remove {{ }}
arround the bound data:
<div :class="{
'class-option1': record.styleOption === 'option1',
'class-option2': record.styleOption === 'option2',
'class-option3': record.styleOption === 'option3',
}">
Source:stackexchange.com