diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 4525366..af8b90d 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -8,6 +8,8 @@ Before submitting your contribution please read the guidelines. ## Issue Reporting Guidelines +- Do not create questions. The issue list is exclusively for reports, bugs and feature requests. Use the [Gitter Channel]( https://gitter.im/vuematerial/questions) instead. + - Always search for your issue first. It may have already been answered, planned or fixed in some branch. New components and features will be planned on [Milestones](https://github.com/marcosmoura/vue-material/milestones) or on [Projects](https://github.com/marcosmoura/vue-material/projects). - Only create issues for the newest version. For now. Until 1.0.0. diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 2a75dc4..ffc6607 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -42,4 +42,4 @@ Do not create new features based on a problem that will only solve edge cases fo ### Reproduction Link - diff --git a/README.md b/README.md index be84380..dfdd8b3 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,9 @@ Version - License
+ License + + Gitter Chat

Vue Material is lightweight framework built exactly according to the Material Design specs. @@ -67,13 +69,23 @@ Vue.use(VueMaterial) // OR -Vue.use(VueMaterial.mdCore) //Required to boot vue material -Vue.use(VueMaterial.mdButton) -Vue.use(VueMaterial.mdIcon) -Vue.use(VueMaterial.mdSidenav) -Vue.use(VueMaterial.mdToolbar) +Vue.use(VueMaterial.MdCore) //Required to boot vue material +Vue.use(VueMaterial.MdButton) +Vue.use(VueMaterial.MdIcon) +Vue.use(VueMaterial.MdSidenav) +Vue.use(VueMaterial.MdToolbar) ``` +## Changelog +Changelog + +## Questions +The issue list is exclusively for reports, bugs and feature requests. Use the [Gitter Channel]( https://gitter.im/vuematerial) instead. + +## Contributing + +Please make sure to read the [Contributing Guide](https://github.com/marcosmoura/vue-material/blob/master/.github/CONTRIBUTING.md) before making a pull request. + ## Browser Support Vue Material supports the latest version of all Browsers. This means: * Google Chrome 50+ @@ -85,13 +97,6 @@ Vue Material supports the latest version of all Browsers. This means: May work in other browsers but it's untested. -## Changelog -Changelog - -## Contributing - -Please make sure to read the [Contributing Guide](https://github.com/marcosmoura/vue-material/blob/master/.github/CONTRIBUTING.md) before making a pull request. - ## Credits and Thanks * This library aims to delivery components using almost the same API of Angular Material * Thanks a lot to elviskang for donating the npm package name! diff --git a/src/components/mdTable/mdTable.vue b/src/components/mdTable/mdTable.vue index 3994e8a..ffc82a8 100644 --- a/src/components/mdTable/mdTable.vue +++ b/src/components/mdTable/mdTable.vue @@ -41,6 +41,14 @@ this.$emit('select', this.selectedRows); } }, + watch: { + data() { + this.numberOfRows = this.data.length; + }, + selectedRows() { + this.numberOfSelected = Object.keys(this.selectedRows).length; + } + }, mounted() { this.parentCard = getClosestVueParent(this.$parent, 'md-table-card');