You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<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()
I like the idea of using a data attribute. We can maintain the class/rel support for backwards compatibility but suggest using data-pushstate as the main option. I think I prefer that to data-ps also. It's more verbose but more obvious what it does...
... not just
PushState.push
It might look like:
It would be implemented much the same way during
PushState.init()
Ping @kevinresol
The text was updated successfully, but these errors were encountered: