Mercurial > libervia-web
view libervia/web/pages/_browser/tools.py @ 1614:24ba9ce18375
install: minor dependency update.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 06 Aug 2024 23:55:36 +0200 |
parents | 4ab4bc3ae462 |
children |
line wrap: on
line source
"""Common useful tools""" from browser import window def is_touch_device(): return hasattr(window, 'ontouchstart')