summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorBenjamin Summerton <define-private-public@users.noreply.github.com>2019-07-20 20:53:25 -0400
committerDominik Picheta <dominikpicheta@googlemail.com>2019-07-21 23:15:36 +0100
commit46f227196873184527d39bd6773da4a5012ec867 (patch)
tree45634cc50ce7d58ad0c359f98686760f39e5d7ed /lib
parentd563efb719b3e4478194ea44dcc812828c4fadef (diff)
downloadNim-46f227196873184527d39bd6773da4a5012ec867.tar.gz
Add `opacity` to JS `Style`
I noticed this was missing.  It has cross browser support: https://developer.mozilla.org/en-US/docs/Web/CSS/opacity#Browser_compatibility
Diffstat (limited to 'lib')
-rw-r--r--lib/js/dom.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/js/dom.nim b/lib/js/dom.nim
index 3c6d65d8a..a042c222e 100644
--- a/lib/js/dom.nim
+++ b/lib/js/dom.nim
@@ -408,6 +408,7 @@ type
     maxWidth*: cstring
     minHeight*: cstring
     minWidth*: cstring
+    opacity*: cstring
     overflow*: cstring
     padding*: cstring
     paddingBottom*: cstring
@@ -416,6 +417,7 @@ type
     paddingTop*: cstring
     pageBreakAfter*: cstring
     pageBreakBefore*: cstring
+    opacity*: cstring
     pointerEvents*: cstring
     position*: cstring
     right*: cstring