run-what 1.2.0

HTML-first web framework powered by Rust. No JavaScript frameworks, no build steps—just HTML.
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * app.js — Your custom JavaScript
 *
 * wwwhat handles most interactivity through HTML attributes:
 *   w-set    — update server state on click
 *   w-get    — fetch and swap content without page reload
 *   w-post   — submit data to the server
 *   w-validate — client-side form validation
 *
 * You probably don't need this file. Use it only for things HTML
 * attributes can't do: third-party libraries, canvas, maps, etc.
 */