mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
47 lines
941 B
TypeScript
47 lines
941 B
TypeScript
|
|
import {IonicConfig} from './config';
|
|
|
|
|
|
// iOS Mode Settings
|
|
IonicConfig.modeConfig('ios', {
|
|
|
|
actionMenuEnter: 'action-menu-slide-in',
|
|
actionMenuLeave: 'action-menu-slide-out',
|
|
actionMenuCancelIcon: 'ion-close',
|
|
actionMenuDestructiveIcon: 'ion-trash-a',
|
|
|
|
backButtonText: 'Back',
|
|
backButtonIcon: 'ion-ios-arrow-back',
|
|
|
|
iconForward: 'ion-ios-arrow-forward',
|
|
iconMode: 'ios',
|
|
|
|
navTitleAlign: 'center',
|
|
tabBarPlacement: 'bottom',
|
|
viewTransition: 'ios',
|
|
|
|
});
|
|
|
|
|
|
// Material Design Mode Settings
|
|
IonicConfig.modeConfig('md', {
|
|
|
|
actionMenuEnter: 'action-menu-md-slide-in',
|
|
actionMenuLeave: 'action-menu-md-slide-out',
|
|
actionMenuCancelIcon: 'ion-close',
|
|
actionMenuDestructiveIcon: 'ion-trash-a',
|
|
|
|
backButtonText: '',
|
|
backButtonIcon: 'ion-android-arrow-back',
|
|
|
|
iconForward: '',
|
|
iconMode: 'md',
|
|
|
|
navTitleAlign: 'left',
|
|
tabBarPlacement: 'top',
|
|
viewTransition: 'md',
|
|
|
|
type: 'overlay',
|
|
mdRipple: true,
|
|
});
|