mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
back button text
This commit is contained in:
@ -8,7 +8,7 @@ import {IonicComponent} from 'ionic2/config/component'
|
||||
inline: `
|
||||
<icon [class-name]="'back-button-icon ' + icon"></icon>
|
||||
<div class="back-button-text">
|
||||
<div class="back-default"></div>
|
||||
<div class="back-default">{{ text }}</div>
|
||||
<div class="back-title"></div>
|
||||
</div>`
|
||||
})
|
||||
@ -32,6 +32,13 @@ new IonicComponent(BackButton, {
|
||||
android: 'ion-android-arrow-back',
|
||||
base: 'ion-chevron-left'
|
||||
}
|
||||
},
|
||||
text: {
|
||||
defaults: {
|
||||
ios: 'Back',
|
||||
android: '',
|
||||
base: ''
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user