Add todoapp benchmark
This commit is contained in:
parent
479db8c2cc
commit
02e7b40c07
218 changed files with 63168 additions and 0 deletions
|
|
@ -0,0 +1,21 @@
|
|||
## Example app that shows how to write and embed a custom component.
|
||||
|
||||
include karaxprelude
|
||||
import mediaplayer
|
||||
|
||||
const url = "https://www.w3schools.com/html/mov_bbb.mp4"
|
||||
|
||||
proc createDom(): VNode =
|
||||
result = buildHtml(table):
|
||||
tr:
|
||||
td:
|
||||
mplayer("vid1", url)
|
||||
td:
|
||||
mplayer("vid2", url)
|
||||
tr:
|
||||
td:
|
||||
mplayer("vid3", url)
|
||||
td:
|
||||
mplayer("vid4", url)
|
||||
|
||||
setRenderer createDom
|
||||
Loading…
Add table
Add a link
Reference in a new issue