We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
set_env(output_animation=False)
1 parent ab4298b commit b57cac4Copy full SHA for b57cac4
pywebio/html/css/app.css
@@ -127,6 +127,11 @@ img {
127
animation-duration: .6s
128
}
129
130
+.no-animation img {
131
+ -webkit-animation-name: none;
132
+ animation-name: none
133
+}
134
+
135
@-webkit-keyframes image-load-in {
136
0% {
137
-webkit-filter: blur(8px);
webiojs/src/handlers/env.ts
@@ -19,6 +19,11 @@ export class EnvSettingHandler implements CommandHandler {
19
20
if (spec.output_animation !== undefined) {
21
config.outputAnimation = spec.output_animation;
22
+ if(!spec.output_animation){
23
+ document.body.classList.add('no-animation');
24
+ }else{
25
+ document.body.classList.remove('no-animation');
26
+ }
27
28
29
if (spec.http_pull_interval !== undefined) {
0 commit comments