Skip to content

Allow links and form submits to call PushState.replace #7

@jasononeil

Description

@jasononeil

... not just PushState.push

It might look like:

 <a href='/home' rel="pushstate">New history item created</a>
 <a href='/blog' rel="pushstate-replace">NO new history item created</a>
 <a href='/home' class="pushstate">New history item created</a>
 <a href='/home' class="pushstate-replace">NO new history item created</a>

It would be implemented much the same way during PushState.init()

Ping @kevinresol

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions