view sat_templates/templates/bulma/_browser/__init__.py @ 332:3db3509cbad1

bulma: fix items/pagination ordering in various places following ordering fix in Libervia/SàT Pubsub
author Goffi <goffi@goffi.org>
date Sun, 06 Jun 2021 19:53:56 +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')