怎么可能认识到,如果NativeScript页面完全渲染和可视的用户?最好的方法是,我可以在其中调用时间戳/ console.log。 NativeScript有两种版本,NS Core和NS Angular。我不太确定这是否符合这个要求?NativeScript承认,如果页面完全呈现
对于NS /芯:事件处理程序页面加载事件。
function pageLoaded(){
console.log()
}
<Page loaded="pageLoaded">
https://docs.nativescript.org/cookbook/ui/page
对于NS /角:ngOnInit
ngOnInit(){
console.log()
}
https://docs.nativescript.org/tutorial/ng-chapter-4