Mercurial > libervia-templates
view sat_templates/templates/bulma/_browser/__init__.py @ 325:8c779fb46384
bulma (components/block): interests_grid is more customisable:
- new `delete_icon` argument can be set to `false` if delete icon is not desired
- the macro can now be called, the caller then get 2 arguments: part to customise and
current interest. Part to customise can be:
* `header-title`: markup to put in the title
* `content`: car content (replaces the default `interest.name`)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 01 May 2021 18:44:47 +0200 |
parents | 0e69b5843c2f |
children |
line wrap: on
line source
from browser import bind, document @bind("#main_menu_burger", "click") def burger_click(ev): document["main_menu"].classList.toggle('is-active') document["main_menu_burger"].classList.toggle('is-active')