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 1ed8656 commit 58872caCopy full SHA for 58872ca
lib/index.ts
@@ -1,5 +1,9 @@
1
+/**
2
+ * A function that iterates through the computed style properties of a HTML
3
+ * element and redefines them as inline styles.
4
+ */
5
export default function computedStyleToInlineStyle(
- element: HTMLElement,
6
+ element: HTMLElement | SVGElement,
7
options?: {
8
recursive?: boolean;
9
properties?: string[];
0 commit comments