Permalink
Browse files

perf(table): convert template to render function (#1350)

* perf(table): convert template to render function

* Update README.md

* Update README.md
  • Loading branch information...
tmorehouse committed Nov 15, 2017
1 parent a7dbac5 commit 6a1ef4f99370b34731e5e74ec48a7726714447fb
Showing with 828 additions and 750 deletions.
  1. +7 −2 src/components/table/README.md
  2. +821 −748 src/components/table/table.vue
@@ -292,7 +292,7 @@ fields: [
| `hover` | To enable a hover highlighting state on table rows within a `<tbody>`
| `dark` | Invert the colors — with light text on dark backgrounds (equivalent to Bootstrap V4 class `.table-dark`)
| `responsive` | Generate a responsive table to make it scroll horizontally. Set to `true` for an always responsive table, or set it to one of the breakpoints `sm`, `md`, `lg`, or `xl` to make the table responsive (horizontally scroll) only on screens smaller than the breakpoint.
| `fixed` | Gnerate a table with equal fixed-width columns (`table-layout: fixed`)
| `fixed` | Generate a table with equal fixed-width columns (`table-layout: fixed`)
| `foot-clone` | Turns on the table footer, and defaults with the same contents a the table header
| `head-variant` | Use `light` or `dark` to make table header appear light or dark gray, respectively
| `foot-variant` | Use `light` or `dark` to make table footer appear light or dark gray, respectively. If not set, `head-variant` will be used. Has no effect if `foot-clone` is not set
@@ -1134,7 +1134,12 @@ when fetching your data!
</div>
<div class="col-md-6">
<b-form-group horizontal label="Filter" :label-cols="3">
<b-form-input v-model="filter" placeholder="Type to Search" />
<b-input-group>
<b-form-input v-model="filter" placeholder="Type to Search" />
<b-input-group-button>
<b-btn @click="filter = ''">Clear</b-btn>
</b-input-group-button>
</b-input-group>
</b-form-group>
</div>
</div>
Oops, something went wrong.

0 comments on commit 6a1ef4f

Please sign in to comment.