window的loadContentByName方法

使用了window的loadContentByName方法加载page,未展示window时候,page的build方法是否会被调用?

HarmonyOS
2024-04-29 17:04:22
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
peterlee99

使用import()引入页面路由,page的build方法可以稳定被调用

分享
微博
QQ
微信
回复
2024-04-30 10:52:53
相关问题
如何获取主窗口window宽度
923浏览 • 1回复 待解决
如何监听window大小变化
37浏览 • 1回复 待解决
HarmonyOS中window怎么设置固定宽高
843浏览 • 1回复 待解决
window 安装 Docker问题有知道吗?
1499浏览 • 1回复 待解决
自定义子 window 大小限制
755浏览 • 1回复 待解决
调用 window.getWindowAvoidArea 时抛出异常
889浏览 • 1回复 待解决
TextInputonBlur方法不回调
648浏览 • 1回复 待解决
获取本地IP地址方法
827浏览 • 1回复 待解决
ArkTS中数组复制方法
274浏览 • 1回复 待解决
Native如何调ArkTS方法
1121浏览 • 1回复 待解决