Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | It was difficult to use the zero-parameter form of Timeline.schedule() with ↵ | pragdave | 2020-05-07 | 1 | -1/+9 |
| | | | | | | | | | | TypeScript. The .d.ts file didn't include the retuen type for a list of runner infos, and adding it still m,ade it harder than it should be to iterate over it type safely. In this commit I 1. Added the type information for `ScheduledRunnerInfo`, and updated the Timeline types to include it as a retuen type for `schedule` 2. Added a new function to Timeline, `getSchedule`, that simply returns the runner list. This seems to be cleaner than having the original `schedule` that can return two wildly different things. I didn't remove the old functionality. | ||||
* | sort out unused regex, add parser and regex tests, fix textable tests | Ulrich-Matthias Schäfer | 2020-04-25 | 1 | -2/+0 |
| | |||||
* | added Fragment, completed Dom Tests, fixed `matches()` for document fragments | Ulrich-Matthias Schäfer | 2020-04-08 | 1 | -1/+1 |
| | |||||
* | - fixed `put()` which correctly creates an svgjs object from the passed ↵ | Ulrich-Matthias Schäfer | 2020-04-03 | 1 | -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äfer | 2020-03-28 | 1 | -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. | Luma | 2020-03-23 | 1 | -0/+2 |
| | |||||
* | Changes animate duration argument to TimeLike | Matthew Radcliffe | 2019-12-16 | 1 | -2/+2 |
| | |||||
* | Fixes Element.animate typing | Matthew Radcliffe | 2019-12-12 | 1 | -2/+1 |
| | |||||
* | PathArray parse method's parameter should be optional to comply with the ↵ | Maxime AILLOUD | 2019-05-24 | 1 | -1/+1 |
| | | | | parent class | ||||
* | Typescript definition file: add null as possible parameter for event binding ↵ | Maxime AILLOUD | 2019-05-24 | 1 | -15/+15 |
| | | | | methods in Element class | ||||
* | Update typescript definition file. | Veasna Sreng | 2019-03-01 | 1 | -86/+133 |
| | |||||
* | cleanup of .d.ts (#960) | kabentley | 2019-02-19 | 1 | -322/+1145 |
| | | | | Big kudos to @kabentley for fixing the d.ts file | ||||
* | fix SVGNumber and SVGArray | Keith Bentley | 2019-02-12 | 1 | -181/+127 |
| | |||||
* | Cleanup of d.ts | Keith Bentley | 2019-02-12 | 1 | -62/+79 |
| | |||||
* | two constructors for PathArray | Keith Bentley | 2019-02-11 | 1 | -2/+1 |
| | |||||
* | missed constructors on Matrix and PathArray | Keith Bentley | 2019-02-11 | 1 | -0/+2 |
| | |||||
* | revert to iife for bundle. Set "browser" to src/main.js in package.json | Keith Bentley | 2019-02-11 | 1 | -446/+289 |
| | |||||
* | Bare -> Dom | Keith Bentley | 2019-02-10 | 1 | -3/+3 |
| | |||||
* | more cleanup of svg.js.d.ts | Keith Bentley | 2019-02-10 | 1 | -59/+28 |
| | |||||
* | use umd format in rollup. | Keith Bentley | 2019-02-08 | 1 | -115/+97 |
| | |||||
* | applied fixes from 2.x branch | Ulrich-Matthias Schäfer | 2018-12-01 | 1 | -30/+48 |
| | |||||
* | Syntax fixes in TypeScript declaration file | Malte Fastrup Lyngsø | 2017-06-06 | 1 | -5/+5 |
| | |||||
* | Add missing type definitions to svg.js.d.ts (#680) | Youngrok Kim | 2017-05-20 | 1 | -4/+8 |
| | |||||
* | fix svg.js.d.ts (#644 #648) | Ulrich-Matthias Schäfer | 2017-04-12 | 1 | -5/+13 |
| | |||||
* | typescript definitions updated, minor fix in Transformations | Ulrich-Matthias Schäfer | 2017-03-19 | 1 | -146/+191 |
| | |||||
* | Typescript definitions edits: element.stop, container.polyline(), select(): ↵ | showdep | 2017-03-15 | 1 | -10/+10 |
| | | | | | Set, animation.scale() (#631, #635) Thx @showdep | ||||
* | added rotate, skew, scale and translate to typings documentation as written ↵ | dotnetCarpenter | 2017-03-10 | 1 | -2/+6 |
| | | | | in our documentation (http://svgjs.com/manipulating/transforms/) | ||||
* | add rotate() as an animation method in typescript | dotnetCarpenter | 2017-03-08 | 1 | -0/+1 |
| | |||||
* | Typo in typings | wout | 2017-01-18 | 1 | -1/+1 |
| | |||||
* | added missing constructor definitions | rdfriedl | 2017-01-14 | 1 | -22/+63 |
| | |||||
* | improved typings | rdfriedl | 2017-01-14 | 1 | -88/+107 |
| | |||||
* | fix(typing): Export for umd module | Daniel Gräber | 2017-01-14 | 1 | -6/+6 |
| | |||||
* | added definition for SVG.prepare | rdfriedl | 2016-04-01 | 1 | -0/+1 |
| | |||||
* | added svg.js.d.ts | rdfriedl | 2016-03-31 | 1 | -0/+893 |