Commit graph

36 commits

Author SHA1 Message Date
treeform
f2c7152770
Add more JS stuff to dom.nim (#13483)
* Add more JS stuff to dom.nim

* Make all links to docs doc comments.

* Fix minor textContent * space.

* Remove Selection object.

* More work on docs.

* Fixing links.

* Made the links be "see <docs>".
2020-03-11 23:24:56 +00:00
Jairo
32f0910f11 scrollTop must be settable (#13263)
* scrollTop must be assignable

Make scrollTop settable

* add missing export
2020-01-27 09:14:56 +01:00
Jairo
fb74497c99 Add "origin" to window.location (#13251)
Add "origin" to window location: https://www.w3schools.com/jsref/prop_loc_origin.asp
2020-01-24 20:06:17 +01:00
Jjp137
93461aee34 Fix many broken links
Note that contrary to what docgen.rst currently says, the ids have
to match exactly or else most web browsers will not jump to the
intended symbol.
2019-10-22 17:59:12 -07:00
narimiran
30f2cec671 fix failing JS tests 2019-07-22 11:41:20 +02:00
Benjamin Summerton
46f2271968 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
2019-07-21 23:15:36 +01:00
liuxiaodong
2610b16f6e some dom proc correction and complement (#10684) 2019-02-15 17:43:22 +01:00
Araq
8bc7c50c86 DOM module: re-add more missing stuff 2019-02-08 12:18:42 +01:00
Araq
3dc270eee5 DOM module: add more missing stuff 2019-02-07 15:04:05 +01:00
Araq
b5991f52b9 DOM.nim: fix regression, missing procs 2019-02-06 15:37:32 +01:00
Andreas Rumpf
17d0ce9c1c
DOM API: make compatible with Karax's requirements (#10517)
* DOM API: make compatible with Karax's requirements
* make tools\dochack.nim compile again
2019-02-02 00:21:13 +01:00
Miran
214f48eae9
Remove long deprecated stuff (#10332) 2019-01-18 07:18:32 +01:00
Dominik Picheta
d06da9ccf0 Exports dom.Style (#8444) 2018-09-01 00:24:09 +02:00
Dominik Picheta
6b5ad56ab3 Adds TextAreaElement type. 2018-05-14 13:03:18 +02:00
Dominik Picheta
5fcfc43a20 Adds onpopstate and proc related to Events to dom module. 2018-05-14 13:03:18 +02:00
treeform
577025c319
Add some missing things to dom.nim
Add window.performance, window.performance.now(), window.devicePixelRatio, window.scrollX and Y, style.overflowX and Y, node.getBoundingRect.
2018-03-29 05:31:19 -07:00
Renaud Chénard
a2b7fcdb4d
Use generic for 'stateObject' in func 'pushState' 2018-01-14 23:12:59 +01:00
grazil
d5cd8e6f71
add missing methods in js backend 2018-01-11 14:16:48 +01:00
konqoro
422c117a77
Small fix for js dom 2017-12-13 16:14:01 +02:00
Dominik Picheta
28f3b3d3a7 Add some extra methods and fields to DOM module. 2017-04-06 21:16:17 +02:00
Dominik Picheta
172a9c8e97 Implement touch event types/procs in DOM module. 2017-03-27 21:14:06 +02:00
Dominik Picheta
f2ca6021dc Implement requestAnimationFrame and cancelAnimationFrame in dom module. 2017-03-23 21:34:32 +01:00
Dominik Picheta
2e5b19e479 Added some useful JS procs to DOM module. 2016-05-10 12:50:18 +01:00
Yuriy Glukhov
c0754beb22 Dom refactoring 2015-11-25 19:27:13 +02:00
Perelandric
e0ecaa86ba Reverted all changes 2015-06-04 13:18:42 +02:00
pdw
6e8e3fdd23 lib/js - Dropped 'T' from types 2015-06-04 13:17:09 +02:00
yglukhov
3161f904a5 Added body and head properties to document. 2015-04-29 10:01:26 +03:00
yglukhov
bf2abe2de2 DOM types renamed. 2015-04-06 14:36:36 +03:00
yglukhov
9495a3caba Correct dom objects inheritance. 2015-04-01 13:50:59 +03:00
d3m1gd
134bfb668c Some additions to dom.nim
Missing functions and fields for various dom elements/events.
2015-02-20 19:30:12 +01:00
Araq
a9a5766c66 docgen should work again 2014-10-05 03:06:19 +02:00
Dominik Picheta
69d4eb14bc Some docgen fixes. 2014-09-13 15:35:09 +01:00
Araq
d05df2173b Nimrod renamed to Nim 2014-08-28 09:50:51 +02:00
Grzegorz Adam Hankiewicz
2353b5633e Hyperlinks back JavaScript target. 2014-06-21 23:48:41 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Simon Hafner
1785c6877b EcmaScript => JS. Fixes #330
No one calls it EcmaScript anymore.
2013-02-15 11:08:30 -06:00
Renamed from lib/ecmas/dom.nim (Browse further)