1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | 18x 18x 18x 18x 18x 18x 18x 3x | <template> <div :class="classObject"> I <slot></slot> </div> </template>E <script> export default { computed: { classObject() { return [ 'btn-group', this.vertical ? 'btn-group-vertical' : '', this.size ? ('btn-group-' + this.size) : '' ]; } }, props: { vertical: { type: Boolean, default: false }, size: { type: String, default: null } } }; </script> |