mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 05:11:20 -08:00
add cssPropertyMix
This commit is contained in:
1 parent
f013f8604e
commit
49e1ed15b8
12 files changed
+72
-49
No files matched your search
@@ -39,9 +39,9 @@ export function setStyle(element, key, value) {
|
||||
}
|
||||
|
||||
export function setStyles(element, styles) {
|
||||
Object.keys(styles).forEach((key) => {
|
||||
for (const key in styles) {
|
||||
setStyle(element, key, styles[key]);
|
||||
});
|
||||
}
|
||||
return element;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user