-
Hello, my docker vtk example ran successfully. But I want to know the clients' operating system, so I add the following code: ) def getDevicePixelRatio(devicePixelRatio): Thanks a lot. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
It should work the same in docker or locally. Try trame.ClientTriggers(
created="""
devicePixelRatio = window.devicePixelRatio;
window.document.oncontextmenu = () => false;
"""
) |
Beta Was this translation helpful? Give feedback.
My guess is that you forgot to update ./setup/requirements.txt to include trame-components.