hyTags
HomeHome DocumentationDocumentation

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>
    
    <object-new>
    <page-replace-state>
    <bool-true>
    <assert-true>
    
    👆 Try to change something!
  • Test succeeded Test failed