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