summary refs log tree commit diff stats
path: root/lib/js
diff options
context:
space:
mode:
authortreeform <starplant@gmail.com>2020-05-23 22:32:24 -0700
committerGitHub <noreply@github.com>2020-05-24 07:32:24 +0200
commitacae3b02c7d3b7d916430223c5a2948e68d83ea4 (patch)
treeb001be51b2175962ff4620a4060f0eed73e73318 /lib/js
parentf70d01a7d512ef305cb457db71b35995b3720a1d (diff)
downloadNim-acae3b02c7d3b7d916430223c5a2948e68d83ea4.tar.gz
Add clipPath to dom.nim. (#14435)
Just adds a single new css atribute, see: https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path .
Diffstat (limited to 'lib/js')
-rw-r--r--lib/js/dom.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/js/dom.nim b/lib/js/dom.nim
index d425b62c5..65f9a946b 100644
--- a/lib/js/dom.nim
+++ b/lib/js/dom.nim
@@ -398,6 +398,7 @@ type
     captionSide*: cstring
     clear*: cstring
     clip*: cstring
+    clipPath*: cstring
     color*: cstring
     cursor*: cstring
     direction*: cstring
@@ -1384,4 +1385,4 @@ since (1, 3):
   proc readAsDataURL*(f: FileReader, b: Blob) {.importcpp: "#.readAsDataURL(#)".}
     ## https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL
   proc readAsText*(f: FileReader, b: Blob, encoding = cstring"UTF-8") {.importcpp: "#.readAsText(#, #)".}
-    ## https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText
\ No newline at end of file
+    ## https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText