Mercurial > libervia-web
view libervia/web/pages/_browser/tools.py @ 1611:b695b98851fc
pages (events/new): use coroutines.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 12 Jun 2024 23:09:49 +0200 |
parents | 4ab4bc3ae462 |
children |
line wrap: on
line source
"""Common useful tools""" from browser import window def is_touch_device(): return hasattr(window, 'ontouchstart')