top | item 37623683

(no title)

Yahivin | 2 years ago

It seems to make sense with the example. The `tag` keyword defines a tag that is used the same as HTML tags to create an element.

    tag Box
 css pos:relative
 x = 0
 y = 0
 <self[x:{x}px y:{y}px] @touch.moved.sync(self)> <slot> "box"

    tag app
 <self[inset:0 d:hflex ja:center]>
  <Box[hue:blue]> 'One'

discuss

order

No comments yet.