Mercurial > libervia-web
view libervia/web/pages/_browser/tools.py @ 1582:f52b89365002
browser: new `popup` module to create dynamic popups
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 28 Nov 2023 17:53:56 +0100 |
parents | 4ab4bc3ae462 |
children |
line wrap: on
line source
"""Common useful tools""" from browser import window def is_touch_device(): return hasattr(window, 'ontouchstart')