view sat_templates/templates/bulma/_browser/__init__.py @ 271:dea66eead698

bulma (dialogs): new `notification.html` template
author Goffi <goffi@goffi.org>
date Fri, 14 Aug 2020 08:46:03 +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')