view sat_templates/templates/bulma/_browser/__init__.py @ 288:9731b71ffa53

bulma (photo/slideshow): renamed "click_to_hide" class to "slideshow_control"
author Goffi <goffi@goffi.org>
date Thu, 17 Sep 2020 22:44:37 +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')