This repository has been archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tabs): add support for vertical option
- Loading branch information
Showing
5 changed files
with
49 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,27 @@ | ||
AngularJS version of the tabs directive. | ||
|
||
Allows a `select` callback attribute, `active` binding attribute and `disabled` binding attribute. | ||
### Settings ### | ||
|
||
Allows either `heading` text-heading as an attribute, or a `<tab-heading>` element inside as the heading. | ||
#### `<tabset>` #### | ||
|
||
* `vertical` | ||
_(Defaults: false)_ : | ||
Whether tabs appear vertically stacked. | ||
|
||
#### `<tab>` #### | ||
|
||
* `heading` or `<tab-heading>` | ||
: | ||
Heading text or HTML markup. | ||
|
||
* `active` <i class="icon-eye-open"></i> | ||
_(Defaults: false)_ : | ||
Whether tab is currently selected. | ||
|
||
* `disabled` <i class="icon-eye-open"></i> | ||
_(Defaults: false)_ : | ||
Whether tab is clickable and can be activated. | ||
|
||
* `select()` | ||
_(Defaults: null)_ : | ||
An optional expression called when tab is activated. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters