Console
hyTags
Home
Home
Documentation
Documentation
page-replace-state
Replaces the current browser history entry without navigation
Parameter
Type
Description
state
Object
The state object to associate with the history entry
return
void
No return value
Test Case:
Replace state updates history
<div></div>
<div></div>
<object-new> <page-replace-state> <bool-true> <assert-true>
<object-new> <page-replace-state> <bool-true> <assert-true>
👆 Try to change something!
Live preview
Run
Array
Assert
Attribute
Bool
Class
Closure
Cookie
Data
Date
DateTime
Debug
Element
Error
Event
Form
Fragment
Function
If
Input
Items
Javascript
Loop
Number
Object
Page
Property
Rect
Request
Response
Selection
Storage
String
Style
Time
Url
Value
Var
Window
Quick Reference
Test succeeded
Test failed