aboutsummaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
Commit message (Collapse)AuthorAgeFilesLines
...
* - fixed `put()` which correctly creates an svgjs object from the passed ↵Ulrich-Matthias Schäfer2020-04-031-46/+12
| | | | | | | | element now before returning - fixed `parent()` which correctly returns null if direct parent is the document or a document-fragment - fixed `add()` which correctly removes namespaces of non-root svg elements now when added to another svg element (#1086) - fixed `isRoot()` which correctly returns false, if the element is in a document-fragment
* This is a big one...Ulrich-Matthias Schäfer2020-03-281-95/+120
| | | | | | | | | | | | | | | | | | | | ### Fixed - fixed `zoom()` method of runner which was passed a wrong parameter - fixed positioning methods of `TSpan` to position them by its bounding box - fixed `flip()` method which flips correctly by center by default now and accepts correct arguments - fixed a case in `rbox()` where not always all values of the box were updated - fixed `getOrigin()` function used by `transform()` so that all origin (#1085) popssibilities specified in the docs are working - fixed positioning of text by its baseline when using `amove()` - fixed tons of typings in the svg.d.ts file ### Added - added second Parameter to `SVG(el, isHTML)` which allows to explicitely create elements in the HTML namespace (#1058) - added `unlink()` and `linker()` to hyperlinked elements to remove or access the underling `<a>` element - added `wrap()` method to `Dom` which lets you wrap an element by another one - added `orient()` method to `Marker` - added `options` parameter to `dispatch()` and `fire()` to allow for more special needs - added `newLine()` constructor to `Text` to create a tspan marked as new line (#1088) - added lots of tests in es6 format
* Add mouseenter()/mouseleave() function definition to types.Luma2020-03-231-0/+2
|
* Changes animate duration argument to TimeLikeMatthew Radcliffe2019-12-161-2/+2
|
* Fixes Element.animate typingMatthew Radcliffe2019-12-121-2/+1
|
* PathArray parse method's parameter should be optional to comply with the ↵Maxime AILLOUD2019-05-241-1/+1
| | | | parent class
* Typescript definition file: add null as possible parameter for event binding ↵Maxime AILLOUD2019-05-241-15/+15
| | | | methods in Element class
* Update typescript definition file.Veasna Sreng2019-03-011-86/+133
|
* cleanup of .d.ts (#960)kabentley2019-02-191-322/+1145
| | | | Big kudos to @kabentley for fixing the d.ts file
* fix SVGNumber and SVGArrayKeith Bentley2019-02-121-181/+127
|
* Cleanup of d.tsKeith Bentley2019-02-121-62/+79
|
* two constructors for PathArrayKeith Bentley2019-02-111-2/+1
|
* missed constructors on Matrix and PathArrayKeith Bentley2019-02-111-0/+2
|
* revert to iife for bundle. Set "browser" to src/main.js in package.jsonKeith Bentley2019-02-111-446/+289
|
* Bare -> DomKeith Bentley2019-02-101-3/+3
|
* more cleanup of svg.js.d.tsKeith Bentley2019-02-101-59/+28
|
* use umd format in rollup.Keith Bentley2019-02-081-115/+97
|
* applied fixes from 2.x branchUlrich-Matthias Schäfer2018-12-011-30/+48
|
* Syntax fixes in TypeScript declaration fileMalte Fastrup Lyngsø2017-06-061-5/+5
|
* Add missing type definitions to svg.js.d.ts (#680)Youngrok Kim2017-05-201-4/+8
|
* fix svg.js.d.ts (#644 #648)Ulrich-Matthias Schäfer2017-04-121-5/+13
|
* typescript definitions updated, minor fix in TransformationsUlrich-Matthias Schäfer2017-03-191-146/+191
|
* Typescript definitions edits: element.stop, container.polyline(), select(): ↵showdep2017-03-151-10/+10
| | | | | Set, animation.scale() (#631, #635) Thx @showdep
* added rotate, skew, scale and translate to typings documentation as written ↵dotnetCarpenter2017-03-101-2/+6
| | | | in our documentation (http://svgjs.com/manipulating/transforms/)
* add rotate() as an animation method in typescriptdotnetCarpenter2017-03-081-0/+1
|
* Typo in typingswout2017-01-181-1/+1
|
* added missing constructor definitionsrdfriedl2017-01-141-22/+63
|
* improved typingsrdfriedl2017-01-141-88/+107
|
* fix(typing): Export for umd moduleDaniel Gräber2017-01-141-6/+6
|
* added definition for SVG.preparerdfriedl2016-04-011-0/+1
|
* added svg.js.d.tsrdfriedl2016-03-311-0/+893