File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
packages/angular/test/apps/ng19/src/app/lazy
version-test/modal-nav-params Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1- import { Component , Input } from '@angular/core' ;
1+ import { Component , Input , OnInit } from '@angular/core' ;
22import { ModalExampleComponent } from '../modal-example/modal-example.component' ;
33
44@Component ( {
55 selector : 'app-nav' ,
66 templateUrl : './nav.component.html' ,
77 standalone : false
88} )
9- export class NavComponent {
9+ export class NavComponent implements OnInit {
1010 rootPage = ModalExampleComponent ;
1111 rootParams : any ;
1212
Original file line number Diff line number Diff line change 1- import { JsonPipe } from "@angular/common" ;
2- import { Component } from "@angular/core" ;
1+ import { Component , OnInit } from "@angular/core" ;
32
43import { IonicModule } from "@ionic/angular" ;
54
@@ -18,9 +17,9 @@ let rootParamsException = false;
1817 template : `
1918 {{ hasException ? 'ERROR' : 'OK' }}
2019 ` ,
21- imports : [ IonicModule , JsonPipe ]
20+ imports : [ IonicModule ]
2221} )
23- export class NavRootComponent {
22+ export class NavRootComponent implements OnInit {
2423
2524 params : any ;
2625
You can’t perform that action at this time.
0 commit comments