- 深入理解React Router:從原理到實踐
- 李楊韜
- 111字
- 2021-04-16 16:10:36
1.3.2 window.history.forward
window.history.forward作為跳轉到當前棧指針所指前一個記錄的方法,棧指針向前移動一位。window.history.forward等同于history.go(1),也等同于在瀏覽器中單擊“前進”按鈕。注意,前進是否刷新頁面取決于歷史棧中的棧記錄,如果是通過history.pushState方法設置的歷史棧記錄,則調用window.history.forward方法不會刷新頁面。
推薦閱讀
- Getting Started with Citrix XenApp? 7.6
- Python機器學習:數(shù)據(jù)分析與評分卡建模(微課版)
- C#編程入門指南(上下冊)
- C# 從入門到項目實踐(超值版)
- Unity Virtual Reality Projects
- Microsoft Dynamics GP 2013 Reporting, Second Edition
- Getting Started with Python Data Analysis
- MongoDB權威指南(第3版)
- PySide 6/PyQt 6快速開發(fā)與實戰(zhàn)
- IBM Cognos Business Intelligence 10.1 Dashboarding cookbook
- Getting Started with React Native
- 愛上micro:bit
- Java圖像處理:基于OpenCV與JVM
- Python網(wǎng)絡爬蟲技術與應用
- 愛上C語言:C KISS