@lukekaalim/act-web 6.0.1 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/props.ts +5 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/props.ts
CHANGED
|
@@ -113,8 +113,11 @@ export const setStyleProp = (
|
|
|
113
113
|
style: null | Record<keyof CSSStyleDeclaration, string | number>,
|
|
114
114
|
prevStyle: null | Record<keyof CSSStyleDeclaration, string | number>,
|
|
115
115
|
) => {
|
|
116
|
-
setPropObject(node as any, style, prevStyle, (name, value) =>
|
|
117
|
-
(node
|
|
116
|
+
setPropObject(node as any, style, prevStyle, (name, value) => {
|
|
117
|
+
(node as any)[name] = value;
|
|
118
|
+
node.setProperty(name, value as string);
|
|
119
|
+
return true;
|
|
120
|
+
});
|
|
118
121
|
}
|
|
119
122
|
|
|
120
123
|
const setPropObject = (
|