mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 18:17:31 +08:00
perf(angular): bundle size improvements for angular (#16966)
This commit is contained in:
@ -1,15 +1,15 @@
|
||||
import { Directive, ElementRef, HostListener, Input, Optional } from '@angular/core';
|
||||
import { Directive, ElementRef, HostListener, Optional } from '@angular/core';
|
||||
|
||||
import { NavController } from '../../providers/nav-controller';
|
||||
|
||||
import { IonRouterOutlet } from './ion-router-outlet';
|
||||
|
||||
@Directive({
|
||||
selector: 'ion-back-button'
|
||||
selector: 'ion-back-button',
|
||||
inputs: ['defaultHref']
|
||||
})
|
||||
export class IonBackButtonDelegate {
|
||||
|
||||
@Input()
|
||||
set defaultHref(value: string | undefined | null) {
|
||||
this.elementRef.nativeElement.defaultHref = value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user