mirror of
https://github.com/donl/meteor-ionic.git
synced 2026-05-26 22:06:41 -06:00
Updated Guide.md with short description for tabs.
This commit is contained in:
parent
3e6f41d3d6
commit
e77872b690
1 changed files with 9 additions and 1 deletions
10
GUIDE.md
10
GUIDE.md
|
|
@ -201,7 +201,15 @@ This is where `iron:layout` comes into play. Our `ionNavBar` component exposes t
|
|||
|
||||
## Tabs
|
||||
|
||||
TODO
|
||||
To create Ionic style tabs you need to wrap your tabs into an `ionTabs` component. You can add the ionic tab classes to determine the style of your tabs. Single tabs are created with the `ionTab` element. The text of a tab is set with the `title` attribute. If you use icon tabs you can add ionicons with the `iconOff` and `iconOn` attributes. You can also set a path to link the tab to an iron router route. Example:
|
||||
|
||||
```
|
||||
{{#ionTabs class="tabs-positive tabs-icon-top"}}
|
||||
{{> ionTab title="News" path="news" iconOff="ios-paper" iconOn="ios-paper"}}
|
||||
{{> ionTab title="Todos" path="todos" iconOff="checkmark-circled" iconOn="checkmark-circled"}}
|
||||
{{> ionTab title="Profile" path="profile" iconOff="person" iconOn="person"}}
|
||||
{{/ionTabs}}
|
||||
```
|
||||
|
||||
## Lists
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue