history.state
history.state copied to clipboard
Polyfill `history.state` on iOS 5- and Android 4.3-.
Results
3
history.state issues
Sort by
recently updated
recently updated
newest added
(感谢 @hax 提出此建议。) 具体怎么实现我还不知道,欢迎 PR。
improvement
# API 文档 ## JavaScript 接口 ### `historyState.isSupported()` 判断当前环境是否支持通过 `history.state` 属性获取当前 state。 这是一个非常重要的方法,如果你的业务需要使用 `history.state` 特性,务必先使用此方法探测其是否可用。 #### 参数 (无) #### 返回值 布尔值。 #### 示例 ``` js // 在 iOS...
doc