Mercurial > libervia-templates
view sat_templates/templates/bulma/_browser/__init__.py @ 318:b7e5ce6bc82d
CSS (noscript): new `nojs_hide` class to hide an element when JS is not available
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 29 Apr 2021 15:53:31 +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')