view sat_templates/templates/bulma/_browser/__init__.py @ 310:aaa793112f77

settings: use new `fallback` setting
author Goffi <goffi@goffi.org>
date Fri, 19 Mar 2021 15:48:24 +0100
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')