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.
1 parent 65fdd9a commit bda9264Copy full SHA for bda9264
datex-bindings/dom-utils.ts
@@ -958,6 +958,14 @@ export class DOMUtils {
958
}
959
960
961
+ if (properties_object_or_property instanceof Datex.ReactiveValue && typeof properties_object_or_property == "object") {
962
+ Datex.ReactiveValue.observe(properties_object_or_property, () => {
963
+ for (const [property, value] of Object.entries(properties_object_or_property.val)) {
964
+ this.setCSSProperty(element, property, value);
965
+ }
966
+ });
967
968
+
969
return element;
970
971
0 commit comments