mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(build): do not export in component modules
This commit is contained in:
@@ -244,5 +244,3 @@ export class MenuController {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export { menuOverlayAnimation, menuPushAnimation, menuRevealAnimation };
|
||||
|
||||
@@ -339,7 +339,6 @@ export class PickerColumnCmp {
|
||||
}
|
||||
}
|
||||
|
||||
export const PICKER_OPT_SELECTED = 'picker-opt-selected';
|
||||
export const DECELERATION_FRICTION = 0.97;
|
||||
export const FRAME_MS = (1000 / 60);
|
||||
export const MAX_PICKER_SPEED = 60;
|
||||
const PICKER_OPT_SELECTED = 'picker-opt-selected';
|
||||
const DECELERATION_FRICTION = 0.97;
|
||||
const MAX_PICKER_SPEED = 60;
|
||||
|
||||
@@ -248,18 +248,3 @@ const LIFECYCLE_MAP: any = {
|
||||
'ionPopoverWillDismiss': 'ionViewWillDismiss',
|
||||
'ionPopoverDidDismiss': 'ionViewDidDismiss',
|
||||
};
|
||||
|
||||
export const POPOVER_POSITION_PROPERTIES: any = {
|
||||
ios: {
|
||||
padding: 2,
|
||||
unit: '%',
|
||||
showArrow: true,
|
||||
centerTarget: true
|
||||
},
|
||||
md: {
|
||||
padding: 12,
|
||||
unit: 'px',
|
||||
showArrow: false,
|
||||
centerTarget: false
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
import { Component, Element } from '@stencil/core';
|
||||
|
||||
export interface Route {
|
||||
path: string | null;
|
||||
component: string;
|
||||
}
|
||||
|
||||
@Component({
|
||||
tag: 'translucent-page-tab'
|
||||
})
|
||||
export class TranslucentPageTab {
|
||||
|
||||
@Element() element!: HTMLElement;
|
||||
|
||||
getTabs() {
|
||||
return this.element.closest('ion-tabs')!;
|
||||
}
|
||||
|
||||
setLayout(value: string) {
|
||||
this.getTabs().tabbarLayout = value;
|
||||
}
|
||||
|
||||
setPlacement(value: string) {
|
||||
this.getTabs().tabbarPlacement = value;
|
||||
}
|
||||
|
||||
setHidden(value: boolean) {
|
||||
this.getTabs().tabbarHidden = value;
|
||||
}
|
||||
|
||||
setHighlight(value: boolean) {
|
||||
this.getTabs().tabbarHighlight = value;
|
||||
}
|
||||
|
||||
render() {
|
||||
return [
|
||||
<ion-header translucent>
|
||||
<ion-toolbar>
|
||||
<ion-title>App Store</ion-title>
|
||||
</ion-toolbar>
|
||||
<ion-toolbar>
|
||||
<ion-searchbar></ion-searchbar>
|
||||
</ion-toolbar>
|
||||
</ion-header>,
|
||||
<ion-content fullscreen={true}>
|
||||
<ion-grid>
|
||||
<ion-row>
|
||||
<ion-col size="6"><f class="red"></f></ion-col>
|
||||
<ion-col size="6"><f class="green"></f></ion-col>
|
||||
<ion-col size="6"><f class="blue"></f></ion-col>
|
||||
<ion-col size="6"><f class="yellow"></f></ion-col>
|
||||
<ion-col size="6"><f class="pink"></f></ion-col>
|
||||
<ion-col size="6"><f class="purple"></f></ion-col>
|
||||
<ion-col size="6"><f class="black"></f></ion-col>
|
||||
<ion-col size="6"><f class="orange"></f></ion-col>
|
||||
</ion-row>
|
||||
</ion-grid>
|
||||
</ion-content>
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user