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 May 24, 2020
1 parent f70d01a commit acae3b0
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 acae3b0

Please sign in to comment.