mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
perf(icon): disable icon lazy loading when it's not needed
This commit is contained in:
@ -80,7 +80,7 @@ export class BackButton {
|
||||
class="back-button-native"
|
||||
onClick={(ev) => this.onClick(ev)}>
|
||||
<span class="back-button-inner">
|
||||
{ backButtonIcon && <ion-icon icon={backButtonIcon}/> }
|
||||
{ backButtonIcon && <ion-icon icon={backButtonIcon} lazy={false}/> }
|
||||
{ this.mode === 'ios' && backButtonText && <span class="button-text">{backButtonText}</span> }
|
||||
{ this.mode === 'md' && <ion-ripple-effect tapClick={true} parent={this.el}/> }
|
||||
</span>
|
||||
|
Reference in New Issue
Block a user