feature-options.vue 494 Bytes
<template>
    <ul class="feature-options">
        <li v-for="item in options">
            <button :class="{ 'button-solid': value && value === item.value}"
                    :disabled="item.disabled"
                    @click="selectOption(item.value)"
                    class="button feature-button">
                {{item.text}}
            </button>
        </li>
    </ul>
</template>
<style src="./css/feature-options.css"></style>
<script src="./js/feature-options.js"></script>