BackgroundImage component: support specific image sizes and lazy loading

This commit is contained in:
2026-01-05 14:49:33 +00:00
parent b5a751e237
commit abde60aecc
4 changed files with 113 additions and 69 deletions

View File

@@ -31,8 +31,16 @@
"default": 0
},
"background_url": {
"type": "string",
"default": ""
"type": "string",
"default": ""
},
"background_url_lazy": {
"type": "string",
"default": ""
},
"background_lazy": {
"type": "boolean",
"default": true
},
"background_opacity": {
"type": "integer",
@@ -40,7 +48,7 @@
},
"background_position": {
"type": "string",
"default": ""
"default": "center center"
},
"background_fixed": {
"type": "boolean",