Implement RFC-413 (#18749)
* Implement RFC 413 * Implement RFC 413 * Implement RFC 413 * Implement RFC 413 * https://github.com/nim-lang/Nim/pull/18749#discussion_r696320995 * Update lib/js/dom_extensions.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update lib/js/dom_extensions.nim * https://github.com/nim-lang/Nim/pull/18749#discussion_r696913310 Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
parent
98f7254fb2
commit
041edaa1df
4 changed files with 8 additions and 5 deletions
|
|
@ -1771,3 +1771,6 @@ since (1, 3):
|
|||
## https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL
|
||||
proc readAsText*(f: FileReader, b: Blob|File, encoding = cstring"UTF-8") {.importcpp: "#.readAsText(#, #)".}
|
||||
## https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText
|
||||
|
||||
since (1, 5):
|
||||
proc elementsFromPoint*(n: DocumentOrShadowRoot; x, y: float): seq[Element] {.importcpp.}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
import std/dom
|
||||
|
||||
{.push importcpp.}
|
||||
proc elementsFromPoint*(n: DocumentOrShadowRoot; x, y: float): seq[Element]
|
||||
{.pop.}
|
||||
export elementsFromPoint
|
||||
{.deprecated: "use `std/dom` instead".}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue