Skip to content
This repository has been archived by the owner on Oct 24, 2018. It is now read-only.

Adds disabled property for tab. #39

Merged
merged 2 commits into from
Dec 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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