Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import MDCChipSetFoundation from '@material/chips/chip-set/foundation';
import { MDCChipFoundation } from '@material/chips/chip/foundation';
const {
INTERACTION_EVENT,
SELECTION_EVENT,
REMOVAL_EVENT,
NAVIGATION_EVENT,
} = MDCChipFoundation.strings;
const { CHIP_SELECTOR } = MDCChipSetFoundation.strings;
let idCounter = 0;
export default {
name: 'mcw-chip-set',
props: {
choice: [Boolean],
filter: [Boolean],
input: [Boolean],
},
provide() {
return { mcwChipSet: this };
},
data() {
return {
classes: {