mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
@ -113,7 +113,7 @@ ion-tabs[tabbarPlacement=top] tabbar {
|
|||||||
|
|
||||||
@mixin tabbar-ios($color-name, $color-value) {
|
@mixin tabbar-ios($color-name, $color-value) {
|
||||||
|
|
||||||
tabbar[#{$color-name}] {
|
ion-tabs[#{$color-name}] tabbar {
|
||||||
border-color: darken($color-value, 10%);
|
border-color: darken($color-value, 10%);
|
||||||
background-color: $color-value;
|
background-color: $color-value;
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ tab-highlight {
|
|||||||
|
|
||||||
@mixin tabbar-md($color-name, $color-value) {
|
@mixin tabbar-md($color-name, $color-value) {
|
||||||
|
|
||||||
tabbar[#{$color-name}] {
|
ion-tabs[#{$color-name}] tabbar {
|
||||||
background-color: $color-value;
|
background-color: $color-value;
|
||||||
|
|
||||||
.tab-button {
|
.tab-button {
|
||||||
|
@ -16,7 +16,6 @@ import {rafFrames} from '../../util/dom';
|
|||||||
* @name Tabs
|
* @name Tabs
|
||||||
* @property {any} [tabbarPlacement] - set position of the tabbar, top or bottom
|
* @property {any} [tabbarPlacement] - set position of the tabbar, top or bottom
|
||||||
* @property {any} [tabbarIcons] - set the position of the tabbar's icons: top, bottom, left, right, hide
|
* @property {any} [tabbarIcons] - set the position of the tabbar's icons: top, bottom, left, right, hide
|
||||||
* @property {any} [tabbar-style] - sets tabbar's style (primary, secondary, etc)
|
|
||||||
* @property {any} [preloadTabs] - sets whether to preload all the tabs, true or false
|
* @property {any} [preloadTabs] - sets whether to preload all the tabs, true or false
|
||||||
* @usage
|
* @usage
|
||||||
* ```html
|
* ```html
|
||||||
|
@ -99,7 +99,7 @@ class Tab3 {}
|
|||||||
</ion-content>
|
</ion-content>
|
||||||
</ion-menu>
|
</ion-menu>
|
||||||
|
|
||||||
<ion-tabs #content>
|
<ion-tabs #content primary>
|
||||||
<ion-tab tabTitle="Plain List" tabIcon="star" [root]="root1"></ion-tab>
|
<ion-tab tabTitle="Plain List" tabIcon="star" [root]="root1"></ion-tab>
|
||||||
<ion-tab tabTitle="Schedule" tabIcon="globe" [root]="root2"></ion-tab>
|
<ion-tab tabTitle="Schedule" tabIcon="globe" [root]="root2"></ion-tab>
|
||||||
<ion-tab tabTitle="Stopwatch" tabIcon="stopwatch" [root]="root3"></ion-tab>
|
<ion-tab tabTitle="Stopwatch" tabIcon="stopwatch" [root]="root3"></ion-tab>
|
||||||
|
Reference in New Issue
Block a user