useNavigationType

useNavigationType

摘要

参考文档 ↗

返回当前的导航动作,该动作描述了路由器如何到达当前位置,是通过历史堆栈的 pop、push 还是 replace 操作。

签名

useNavigationType(): NavigationType
文档和示例 CC 4.0