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 f17db8a commit eb082f2Copy full SHA for eb082f2
css-properties-values-api/Overview.bs
@@ -71,6 +71,9 @@ allow custom properties to directly impact paint and layout behaviours respectiv
71
Registering Custom Properties {#registering-custom-properties}
72
==============================================================
73
74
+To register a custom property via JS,
75
+the {{CSS}} object is extended with a {{registerProperty()}} method:
76
+
77
<pre class='idl'>
78
dictionary PropertyDefinition {
79
required DOMString name;
0 commit comments