From ed0812692538dcb0023eef6907c5b5df4f5a1db4 Mon Sep 17 00:00:00 2001 From: T Morehouse Date: Sun, 21 Apr 2019 18:21:08 -0300 Subject: [PATCH] Update table.js --- src/components/table/table.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/table/table.js b/src/components/table/table.js index 09a129e3ee3..9ba95abc9cb 100644 --- a/src/components/table/table.js +++ b/src/components/table/table.js @@ -86,6 +86,10 @@ export default Vue.extend({ type: [Boolean, String], default: false }, + tableClass: { + type: [String, Array, Object], + default: null + }, value: { // v-model for retrieving the current displayed rows type: Array, @@ -116,6 +120,9 @@ export default Vue.extend({ }, tableClasses() { return [ + // User supplied classes + this.tableClass, + // Styling classes { 'table-striped': this.striped, 'table-hover': this.hover && this.computedItems.length > 0 && !this.computedBusy,