Skip to content

Commit 119b159

Browse files
authored
Add the CSSStyleRule.style property. (scala-js#405)
1 parent 35fed55 commit 119b159

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/scala/org/scalajs/dom/raw/Css.scala

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,13 @@ class CSSStyleRule extends CSSRule {
308308
*/
309309
var selectorText: String = js.native
310310
var readOnly: Boolean = js.native
311+
312+
/**
313+
* Returns the CSSStyleDeclaration object for the rule.
314+
*
315+
* MDN
316+
*/
317+
val style: CSSStyleDeclaration = js.native
311318
}
312319

313320
/**

0 commit comments

Comments
 (0)