Skip to content

Commit

Permalink
Add clipPath to dom.nim. (nim-lang#14435)
Browse files Browse the repository at this point in the history
Just adds a single new css atribute, see: https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path .
  • Loading branch information
treeform authored and EchoPouet committed Jun 13, 2020
1 parent 5e411f4 commit f28b0e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/js/dom.nim
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ type
captionSide*: cstring
clear*: cstring
clip*: cstring
clipPath*: cstring
color*: cstring
cursor*: cstring
direction*: cstring
Expand Down Expand Up @@ -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
## https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText

0 comments on commit f28b0e7

Please sign in to comment.