htmx-lsp-server 0.1.0

lsp server for htmx-lsp
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This extension triggers an event restored whenever a back button even is detected while using hx-boost.

Install
<script src="https://unpkg.com/htmx.org/dist/ext/restored.js"></script>

Usage
A page utilizing hx-boost that will reload the h1 each time the back button is pressed:

<body hx-boost="true">
    <h1 hx-ext="restored" hx-trigger="restored" hx-get="/header">Come back!</h1>
    <a href="/other_page">I'll be back</a>
</body>

[HTMX Reference](https://htmx.org/extensions/restored/)