mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
43 lines
821 B
TypeScript
43 lines
821 B
TypeScript
|
|
import {IonicConfig} from './config';
|
|
|
|
|
|
// iOS Mode Settings
|
|
IonicConfig.modeConfig('ios', {
|
|
|
|
actionSheetEnter: 'action-sheet-slide-in',
|
|
actionSheetLeave: 'action-sheet-slide-out',
|
|
actionSheetCancelIcon: '',
|
|
actionSheetDestructiveIcon: '',
|
|
|
|
backButtonText: 'Back',
|
|
backButtonIcon: 'ion-ios-arrow-back',
|
|
|
|
iconMode: 'ios',
|
|
|
|
tabBarPlacement: 'bottom',
|
|
viewTransition: 'ios',
|
|
|
|
});
|
|
|
|
|
|
// Material Design Mode Settings
|
|
IonicConfig.modeConfig('md', {
|
|
|
|
actionSheetEnter: 'action-sheet-md-slide-in',
|
|
actionSheetLeave: 'action-sheet-md-slide-out',
|
|
actionSheetCancelIcon: 'ion-md-close',
|
|
actionSheetDestructiveIcon: 'ion-md-trash',
|
|
|
|
backButtonText: '',
|
|
backButtonIcon: 'ion-md-arrow-back',
|
|
|
|
iconMode: 'md',
|
|
|
|
tabBarPlacement: 'top',
|
|
viewTransition: 'md',
|
|
|
|
type: 'overlay',
|
|
mdRipple: true,
|
|
});
|