Skip to content

Commit

Permalink
Add #77 to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaberaldo committed May 26, 2017
1 parent 9e82bc6 commit a4720db
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
## 0.3.3

* Add nav Dropdown example
* #71 Add background for checked rows on Table
* #71 Add background for checked rows on Table (thanks @mikejavier)
* #72 Fix table overflow
* #77 Add index to Table scoped slot (thanks @UrVerySpecial)

## 0.3.2

Expand Down
19 changes: 19 additions & 0 deletions docs/pages/documentation/data/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,19 @@
</template>
</b-table>
</b-tab-item>

<b-tab-item label="Scoped Slots">
<b-table :data="tableScopedSlots" default-sort="name">
<template scope="props">
<b-table-column field="name" label="Slot name"
:content="props.row.name">
</b-table-column>
<b-table-column field="props" label="Props"
:content="props.row.props">
</b-table-column>
</template>
</b-table>
</b-tab-item>
</b-tabs>

<h3 class="subtitle">Table Column</h3>
Expand Down Expand Up @@ -267,6 +280,12 @@
default: '<code>20</code>'
}
],
tableScopedSlots: [
{
name: 'default',
props: '<code>row: Object</code>, <code>index: Number</code>'
}
],
tableEvents: [
{
name: '<code>click</code>',
Expand Down

0 comments on commit a4720db

Please sign in to comment.