You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The event life cycle of "resumeEvent" fails to trigger in an Angular component, even when placed in a constructor. However, when using the now deprecated syntax, it executes successfully.
Reproduction
The following works fine, but it is using deprecated syntax ->
import{onasapplicationOn,resumeEvent}from"@nativescript/core/application";// called in the constructorapplicationOn(resumeEvent,()=>{constscrollView=<ScrollView>this.scrollView.nativeElement;scrollView.callLoaded();});
import{Application}from"@nativescript/core/application";/// called in the constructorApplication.resumeEvent,()=>{constscrollView=<ScrollView>this.scrollView.nativeElement;scrollView.callLoaded();};
Issue Description
The event life cycle of "resumeEvent" fails to trigger in an Angular component, even when placed in a constructor. However, when using the now deprecated syntax, it executes successfully.
Reproduction
The following works fine, but it is using deprecated syntax ->
Relevant log output (if applicable)
No response
Environment
Relevent dependencies are ->
Please accept these terms
The text was updated successfully, but these errors were encountered: