Skip to content

Commit

Permalink
Merge pull request spatie#39 from bozhkos/feature/add-disabled-proper…
Browse files Browse the repository at this point in the history
…ty-for-tab

Adds disabled property for tab.
  • Loading branch information
sebastiandedeyne authored Dec 6, 2017
2 parents 11fe656 + 6a4a890 commit 78511c6
Show file tree
Hide file tree
Showing 8 changed files with 3,325 additions and 1,767 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to `vue-tabs-component` will be documented in this file

## 1.3.1 - 2017-11-06
- Added `isDisabled` prop to `Tab`

## 1.3.0 - 2017-10-06
- Added `isVisible` prop to `Tab`

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ This is how they can be used:
<tab name="Second tab">
This is the content of the second tab
</tab>
<tab name="Disabled tab" :is-disabled="true">
This content will be unavailable while :is-disabled prop set to true
</tab>
<tab id="oh-hi-mark" name="Custom fragment">
The fragment that is appended to the url can be customized
</tab>
Expand Down
4 changes: 4 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ <h2 class="page-subtitle">First tab</h2>
<h2 class="page-subtitle">Second tab</h2>
This is the content of the second tab.
</tab>
<tab name="Disabled tab" :is-disabled="true">
<h2 class="page-subtitle">Disabled tab</h2>
This content will be unavailable while :is-disabled prop set to true
</tab>
<tab id="oh-hi-mark" name="Custom fragment">
<h2 class="page-subtitle">Custom fragment</h2>
The hash that is appended to the url can be customized.
Expand Down
Loading

0 comments on commit 78511c6

Please sign in to comment.