mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
rename platform base to core
This commit is contained in:
@ -71,7 +71,7 @@ new IonicComponent(Aside, {
|
||||
defaults: {
|
||||
ios: 'reveal',
|
||||
android: 'overlay',
|
||||
base: 'overlay',
|
||||
core: 'overlay',
|
||||
}
|
||||
},
|
||||
dragThreshold: {},
|
||||
|
@ -92,14 +92,14 @@ new IonicComponent(Tabs, {
|
||||
defaults: {
|
||||
ios: 'bottom',
|
||||
android: 'top',
|
||||
base: 'bottom'
|
||||
core: 'bottom'
|
||||
}
|
||||
},
|
||||
tabBarIcons: {
|
||||
defaults: {
|
||||
ios: 'top',
|
||||
android: 'none',
|
||||
base: 'top'
|
||||
core: 'top'
|
||||
}
|
||||
},
|
||||
tabBarText: {}
|
||||
|
@ -30,14 +30,14 @@ new IonicComponent(BackButton, {
|
||||
defaults: {
|
||||
ios: 'ion-ios-arrow-back',
|
||||
android: 'ion-android-arrow-back',
|
||||
base: 'ion-chevron-left'
|
||||
core: 'ion-chevron-left'
|
||||
}
|
||||
},
|
||||
text: {
|
||||
defaults: {
|
||||
ios: 'Back',
|
||||
android: '',
|
||||
base: ''
|
||||
core: ''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ platform.register({
|
||||
|
||||
// Last case is a catch-all
|
||||
platform.setDefaultPlatform({
|
||||
name: 'base'
|
||||
name: 'core'
|
||||
})
|
||||
|
||||
platform.set( platform.detect() )
|
||||
|
Reference in New Issue
Block a user