mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-04-28 10:34:53 +00:00
Create empty pagination component
This commit is contained in:
parent
8b663f5786
commit
8a7a4e3908
3 changed files with 17 additions and 0 deletions
|
|
@ -65,6 +65,8 @@
|
|||
</md-table-row>
|
||||
</md-table-body>
|
||||
</md-table>
|
||||
|
||||
<md-table-pagination></md-table-pagination>
|
||||
</md-table-card>
|
||||
|
||||
<md-table-card>
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import mdTableHead from './mdTableHead.vue';
|
|||
import mdTableCell from './mdTableCell.vue';
|
||||
import mdTableEdit from './mdTableEdit.vue';
|
||||
import mdTableCard from './mdTableCard.vue';
|
||||
import mdTablePagination from './mdTablePagination.vue';
|
||||
import mdTableTheme from './mdTable.theme';
|
||||
|
||||
export default function install(Vue) {
|
||||
|
|
@ -25,6 +26,7 @@ export default function install(Vue) {
|
|||
Vue.component('md-table-cell', Vue.extend(mdTableCell));
|
||||
Vue.component('md-table-edit', Vue.extend(mdTableEdit));
|
||||
Vue.component('md-table-card', Vue.extend(mdTableCard));
|
||||
Vue.component('md-table-pagination', Vue.extend(mdTablePagination));
|
||||
|
||||
Vue.material.styles.push(mdTableTheme);
|
||||
}
|
||||
|
|
|
|||
13
src/components/mdTable/mdTablePagination.vue
Normal file
13
src/components/mdTable/mdTablePagination.vue
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<template>
|
||||
<div class="md-table-pagination">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
|
||||
}
|
||||
};
|
||||
</script>
|
||||
Loading…
Reference in a new issue