OSDN Git Service
(root)
/
twpd
/
master.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Regular updates
[twpd/master.git]
/
riot.md
diff --git
a/riot.md
b/riot.md
index
495b359
..
2b11b99
100644
(file)
--- a/
riot.md
+++ b/
riot.md
@@
-1,10
+1,17
@@
---
title: Riot.js
category: JavaScript libraries
---
title: Riot.js
category: JavaScript libraries
-layout:
default-ad
+layout:
2017/sheet
---
---
-## Tags
+### About
+{: .-intro}
+
+Riot is a UI library for JavaScript.
+
+- <https://riot.js.org/>
+
+### Tags
```js
/* tag-name.tag */
```js
/* tag-name.tag */
@@
-25,7
+32,7
@@
layout: default-ad
<script>riot.mount('tag-name', { title: 'my app', ... })</script>
```
<script>riot.mount('tag-name', { title: 'my app', ... })</script>
```
-## Expressions
+##
#
Expressions
```
{value}
```
{value}
@@
-70,6
+77,8
@@
riot.update() // update all
## Nesting
## Nesting
+### Nesting
+
```
<my-tag>
<child></child>
```
<my-tag>
<child></child>
@@
-88,6
+97,8
@@
riot.update() // update all
## Nested HTML
## Nested HTML
+### Yield
+
```js
<yield/>
```
```js
<yield/>
```