Skip to content

joshday/HTMX.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTMX

Usage

<div>
  <script src="https://unpkg.com/htmx.org@1.8.5"></script>

  <button hx-post="/clicked" hx-swap="outerHTML">
    Click Me
  </button>
</div>
  • In Julia, you would write:
using Cobweb: Page, h
using HTMX

node = HTMX.hx(h.button("Click Me"), post="/clicked", swap="outerHTML")

h.div(HTMX.CDN(), node)

About

Using Julia to write https://htmx.org

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages