mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
64 lines
1.2 KiB
TypeScript
64 lines
1.2 KiB
TypeScript
|
|
import {Config} from './config';
|
|
|
|
|
|
// iOS Mode Settings
|
|
Config.setModeConfig('ios', {
|
|
activator: 'highlight',
|
|
|
|
actionSheetEnter: 'action-sheet-slide-in',
|
|
actionSheetLeave: 'action-sheet-slide-out',
|
|
actionSheetCancelIcon: '',
|
|
actionSheetDestructiveIcon: '',
|
|
|
|
backButtonText: 'Back',
|
|
backButtonIcon: 'ion-ios-arrow-back',
|
|
|
|
iconMode: 'ios',
|
|
|
|
menuType: 'reveal',
|
|
|
|
modalEnter: 'modal-slide-in',
|
|
modalLeave: 'modal-slide-out',
|
|
|
|
pageTransition: 'ios',
|
|
pageTransitionDelay: 16,
|
|
|
|
popupEnter: 'popup-pop-in',
|
|
popupLeave: 'popup-pop-out',
|
|
|
|
tabbarPlacement: 'bottom',
|
|
});
|
|
|
|
|
|
// Material Design Mode Settings
|
|
Config.setModeConfig('md', {
|
|
activator: 'ripple',
|
|
|
|
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',
|
|
|
|
menuType: 'overlay',
|
|
|
|
modalEnter: 'modal-md-slide-in',
|
|
modalLeave: 'modal-md-slide-out',
|
|
|
|
pageTransition: 'md',
|
|
pageTransitionDelay: 80,
|
|
|
|
popupEnter: 'popup-md-pop-in',
|
|
popupLeave: 'popup-md-pop-out',
|
|
|
|
tabbarHighlight: true,
|
|
tabbarPlacement: 'top',
|
|
|
|
tabSubPages: true,
|
|
});
|