mirror of
https://github.com/bigskysoftware/htmx.git
synced 2026-04-06 10:44:01 +00:00
include motivation
This commit is contained in:
10
README.md
10
README.md
@@ -19,6 +19,16 @@ htmx is small ([~8k min.gz'd](https://unpkg.com/htmx.org/dist/)),
|
||||
[extendable](https://htmx.org/extensions) &
|
||||
IE11 compatible
|
||||
|
||||
## motivation
|
||||
|
||||
* Why should only <a> and <form> be able to make HTTP requests?
|
||||
* Why should only `click` & `submit` events trigger them?
|
||||
* Why should only GET & POST be available?
|
||||
* Why should you only be able to replace the *entire* screen?
|
||||
|
||||
By removing these arbitrary constraints htmx completes HTML as a
|
||||
[hypertext](https://en.wikipedia.org/wiki/Hypertext)
|
||||
|
||||
## quick start
|
||||
|
||||
```html
|
||||
|
||||
10
www/index.md
10
www/index.md
@@ -22,6 +22,16 @@ htmx is small ([~8k min.gz'd](https://unpkg.com/htmx.org/dist/)),
|
||||
[extendable](https://htmx.org/extensions) &
|
||||
IE11 compatible
|
||||
|
||||
## motivation
|
||||
|
||||
* Why should only <a> and <form> be able to make HTTP requests?
|
||||
* Why should only `click` & `submit` events trigger them?
|
||||
* Why should only GET & POST be available?
|
||||
* Why should you only be able to replace the *entire* screen?
|
||||
|
||||
By removing these arbitrary constraints htmx completes HTML as a
|
||||
[hypertext](https://en.wikipedia.org/wiki/Hypertext)
|
||||
|
||||
## quick start
|
||||
|
||||
```html
|
||||
|
||||
Reference in New Issue
Block a user