summary refs log tree commit diff stats
path: root/lib/js/dom.nim
Commit message (Collapse)AuthorAgeFilesLines
* add createElementNS, will hopefully fix svgs for karax (#16938)Antonis Geralis2021-02-051-0/+1
|
* Add StorageEvent and correct Storage object (#16865)Antonis Geralis2021-01-291-8/+18
| | | There is no `LocalStorage` type, it's `Storage`
* clean up the docs of some modules under lib/js (#16579)flywind2021-01-041-1/+1
|
* styleCheck: Fix some inconsistent identifiers (#16177)ee72020-12-211-5/+5
|
* Fix broken links in docs (#16336)Elliot Waite2020-12-141-1/+1
| | | | | * Fix broken links in docs * Fix rand HSlice links
* add math.isNaN (#16179)Timothee Cour2020-12-111-0/+1
| | | | | | | * add math.isNaN * isNaN now works with --passc:-ffast-math; tests * Update lib/pure/math.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Add documentElement to Document. (#15943)treeform2020-11-131-0/+1
|
* add parent property to window in dom.nim (#15922)Bung2020-11-121-0/+1
|
* dom.Navigator add missing attributes (#15310)Juan Carlos2020-09-141-1/+16
| | | | | | | * Add missing attributes and methods to dom.Navigator * Add missing attributes and methods to dom.Navigator * Add missing attributes and methods to dom.Navigator
* Shadow Dom apis (#14979)Bung2020-07-211-0/+32
| | | | | | | | | | | * shadow dom api * fix typos * host to Element type * fix code style * move elementsFromPoint to dom_extensions.nim
* add missing props,procs (#14978)Bung2020-07-141-0/+12
|
* Add missing dom.nim things (#14944)treeform2020-07-091-2/+30
|
* Clean out dom (#14855)Juan Carlos2020-06-301-4/+0
| | | | | * Clean out dom * Clean out dom
* Add all missing css properties to dom.nim. (#14825)treeform2020-06-261-4/+270
| | | | | * Add all missing css properties * remove extra space
* Add hasAttribute method to dom.nim. (#14814)treeform2020-06-251-0/+1
| | | See: https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute
* Export fields from the Selection object. (#14752)treeform2020-06-211-0/+7
| | | See: https://developer.mozilla.org/en-US/docs/Web/API/Selection
* Add css white-space property to dom.nim. (#14743)treeform2020-06-211-0/+1
| | | https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
* Add clipPath to dom.nim. (#14435)treeform2020-05-241-1/+2
| | | Just adds a single new css atribute, see: https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path .
* Add missing attributes and methods to JavaScript DOM (#14428)Mildred Ki'Lya2020-05-221-0/+14
| | | | | | | | | | | | | | | | | - content attribute to access HTML template element: https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement/content - ownerDocument to access the owning document from a DOM Node: https://developer.mozilla.org/en-US/docs/Web/API/Node/ownerDocument - outerHTML to get/set the outer HTML representation of a Node: https://developer.mozilla.org/en-US/docs/Web/API/Node/ownerDocument - createComment() to create comment Nodes: https://developer.mozilla.org/en-US/docs/Web/API/Document/createComment - querySelector() and querySelectorAll() on Nodes: https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelectorAll
* fixes a bug reported in https://forum.nim-lang.org/t/6361 (#14422)Andreas Rumpf2020-05-211-31/+31
|
* move since from inclrtl to std/private/since (#14188)hlaaftana2020-05-021-1/+1
| | | | * move since from inclrtl to std/private/since * move since import in system below for HCR
* add FileReader Web API to js dom (#14105)cooldome2020-04-271-9/+59
| | | | | * add FileReader to js dom * minor improvement Co-authored-by: cooldome <ariabushenko@bk.ru>
* Fix the getSelection method. (#13632)treeform2020-04-211-1/+8
|
* fix newDomParser (#13981)Timothee Cour2020-04-161-1/+1
|
* Add jsdomparser (#13920)Juan Carlos2020-04-131-1/+18
| | | | | | | | | | | | | | | | | * Add jsdomparser * Add jsdomparser * Add jsdomparser * https://github.com/nim-lang/Nim/pull/13920#issuecomment-610727142 * https://github.com/nim-lang/Nim/pull/13920#issuecomment-610727142 * https://github.com/nim-lang/Nim/pull/13920#issuecomment-610727142 * https://github.com/nim-lang/Nim/pull/13920#discussion_r405932909 * https://github.com/nim-lang/Nim/pull/13920#discussion_r406502592
* Add more JS stuff to dom.nim (#13483)treeform2020-03-111-26/+45
| | | | | | | | | | | | | | | * 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>".
* scrollTop must be settable (#13263)Jairo2020-01-271-0/+1
| | | | | | | | * scrollTop must be assignable Make scrollTop settable * add missing export
* Add "origin" to window.location (#13251)Jairo2020-01-241-0/+1
| | | Add "origin" to window location: https://www.w3schools.com/jsref/prop_loc_origin.asp
* Fix many broken linksJjp1372019-10-221-1/+1
| | | | | | 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.
* fix failing JS testsnarimiran2019-07-221-1/+0
|
* Add `opacity` to JS `Style`Benjamin Summerton2019-07-211-0/+2
| | | I noticed this was missing. It has cross browser support: https://developer.mozilla.org/en-US/docs/Web/CSS/opacity#Browser_compatibility
* some dom proc correction and complement (#10684)liuxiaodong2019-02-151-4/+9
|
* DOM module: re-add more missing stuffAraq2019-02-081-1/+36
|
* DOM module: add more missing stuffAraq2019-02-071-0/+3
|
* DOM.nim: fix regression, missing procsAraq2019-02-061-0/+2
|
* DOM API: make compatible with Karax's requirements (#10517)Andreas Rumpf2019-02-021-130/+759
| | | | | * DOM API: make compatible with Karax's requirements * make tools\dochack.nim compile again
* Remove long deprecated stuff (#10332)Miran2019-01-181-28/+2
|
* Exports dom.Style (#8444)Dominik Picheta2018-09-011-1/+1
|
* Adds TextAreaElement type.Dominik Picheta2018-05-141-1/+7
|
* Adds onpopstate and proc related to Events to dom module.Dominik Picheta2018-05-141-0/+3
|
* Add some missing things to dom.nimtreeform2018-03-291-0/+44
| | | Add window.performance, window.performance.now(), window.devicePixelRatio, window.scrollX and Y, style.overflowX and Y, node.getBoundingRect.
* Use generic for 'stateObject' in func 'pushState'Renaud Chénard2018-01-141-1/+1
|
* add missing methods in js backendgrazil2018-01-111-1/+2
|
* Small fix for js domkonqoro2017-12-131-2/+2
|
* Add some extra methods and fields to DOM module.Dominik Picheta2017-04-061-0/+11
|
* Implement touch event types/procs in DOM module.Dominik Picheta2017-03-271-0/+30
|
* Implement requestAnimationFrame and cancelAnimationFrame in dom module.Dominik Picheta2017-03-231-0/+2
|
* Added some useful JS procs to DOM module.Dominik Picheta2016-05-101-0/+5
|
* Dom refactoringYuriy Glukhov2015-11-251-133/+173
|
* Reverted all changesPerelandric2015-06-041-75/+69
|