|
|
@ -1,15 +1,13 @@ |
|
|
|
tag app-link |
|
|
|
|
|
|
|
def render |
|
|
|
<self> |
|
|
|
css d:flex fld:row jc:space-between ai:center |
|
|
|
px:16px py:11px rd:5px cursor:pointer c:blue3 |
|
|
|
|
|
|
|
<.link |
|
|
|
@pointerover=(selection_index = index) |
|
|
|
<self |
|
|
|
@pointerover=set_selection_index(index) |
|
|
|
@click.prevent=handle_click_link(link) |
|
|
|
.selected=(index is selection_index) |
|
|
|
> |
|
|
|
css d:flex fld:row jc:space-between ai:center |
|
|
|
px:16px py:11px rd:5px cursor:pointer c:blue3 |
|
|
|
|
|
|
|
<.link-left> |
|
|
|
css d:flex fl:1 |
|
|
|