diff options
Diffstat (limited to 'www/content/attributes/hx-push-url.md')
-rw-r--r-- | www/content/attributes/hx-push-url.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/content/attributes/hx-push-url.md b/www/content/attributes/hx-push-url.md index 191db8e1..eb1a0ea6 100644 --- a/www/content/attributes/hx-push-url.md +++ b/www/content/attributes/hx-push-url.md @@ -1,5 +1,8 @@ +++ title = "hx-push-url" +description = """\ + The hx-push-url attribute in htmx allows you to push a URL into the browser location history. This creates a new \ + history entry, allowing navigation with the browser's back and forward buttons.""" +++ The `hx-push-url` attribute allows you to push a URL into the browser [location history](https://developer.mozilla.org/en-US/docs/Web/API/History_API). |