diff --git a/components/chips/Chip.vue b/components/chips/Chip.vue index 671f1edd8..d5aada54c 100644 --- a/components/chips/Chip.vue +++ b/components/chips/Chip.vue @@ -37,8 +37,9 @@ export default { n.elm.setAttribute('tabindex', '0') }) } - - this.mdcChip = MDCChip.attachTo(this.$el) + + // this done by MDCChipSet: + // this.mdcChip = MDCChip.attachTo(this.$el) } } diff --git a/components/chips/ChipSet.vue b/components/chips/ChipSet.vue index 083b784bf..3f3f0cfc3 100644 --- a/components/chips/ChipSet.vue +++ b/components/chips/ChipSet.vue @@ -1,18 +1,45 @@ diff --git a/components/chips/README.md b/components/chips/README.md index 184b8ca90..c25bb13ad 100644 --- a/components/chips/README.md +++ b/components/chips/README.md @@ -14,6 +14,17 @@ ``` +### Props & methods + +| Prop | Type | Default | Description | +|------|------|---------|-------------| +| choice | Boolean | false | single selection chips in set | +| filter | Boolean | false | multiple selection chips in set | + +| Method | Description | +|--------|-------------| +| getSelectedChips | returns all selected chips of the set as array | + ## Chip ### Slots