滚动到所有应用的顶部,但将滚动位置保存在一个子模块中

时间:2019-05-04 16:13:26

标签: angular angular-routing

我需要保存子路由器模块的滚动位置。我的主路由器模块使用{ scrollPositionRestoration: 'enabled' },但我不知道如何仅在一个子模块中保存滚动位置。

0 个答案:

没有答案