Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ You can skip to details directly via the following links:
* [direct](./#direct) - to assign properties
* [listener](./#listener) - to add listeners
* [list](./#list) - to grow or shrink a list of nodes
* [ref](./#ref) - to keep references to DOM nodes
* [self closing](./#self-closing) - to simplify life
* [hole](./#hole) - to represent generic content
* [reactivity](./#reactivity) - to understand *uhtml/reactive*

```
let el = {}
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ render
┃ ┏━━━━━━━━━━━━━━━━━━━ tag
render(document.body, html`
Expand All @@ -46,7 +48,8 @@ render(document.body, html`
┗━━━━━━┳━━━━━┛
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━ list
</ul>
<my-element /> ━━━━━━━━━━━━━━━━━━━━━━━━━ self closing
┏━━━━━━━━━━━━━━━━━━━━━━━━━━ ref
<my-element ref=${el} /> ━━━━━━━━━━━━━━━ self closing
<p>
${show ? `${order} results` : null}
┗━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┛
Expand Down