Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clone without assigning new IDs | Ulrich-Matthias Schäfer | 2022-12-13 | 1 | -2/+2 |
|\ | |||||
| * | New paremeter assignNewIds for Dom.clone() | Philippe Bernard | 2020-10-14 | 1 | -2/+2 |
| | | |||||
* | | fix: Add second parameter definition | cmoh | 2022-08-11 | 1 | -1/+1 |
| | | |||||
* | | d.ts Timeline.active() (#1253) | Timo Hausmann | 2022-02-08 | 1 | -0/+1 |
| | | |||||
* | | Add parameter "options" to EventTarget.off() | Mario Schlicht | 2022-01-18 | 1 | -3/+3 |
| | | | | | | | | - additional: Typescript-Interfaces for off() functions updated | ||||
* | | Includes dmove method on Runner class | Adam Yakes | 2021-11-10 | 1 | -0/+1 |
| | | |||||
* | | findOne can return null | Glandos | 2021-11-05 | 1 | -2/+2 |
| | | | | | | This can be a breaking change. But it will also fix the contract of the method. | ||||
* | | types: remove at() methods | Lars Hvam | 2021-10-12 | 1 | -3/+1 |
| | | |||||
* | | Update svg.js.d.ts | Diego Bonura | 2021-09-07 | 1 | -0/+1 |
| | | | | | | Add zoom():number to d.ts to get current zoom level | ||||
* | | Update svg.js.d.ts | Ulrich-Matthias Schäfer | 2021-06-18 | 1 | -1/+1 |
| | | | | | | zoom should return `this` | ||||
* | | Fixes types starting tsc 4.2.4 | Maxime Dupré | 2021-06-17 | 1 | -2/+2 |
| | | |||||
* | | add types for styles | José C. Paiva | 2021-05-03 | 1 | -1/+3 |
| | | |||||
* | | add types for styles | José C. Paiva | 2021-05-03 | 1 | -0/+8 |
| | | |||||
* | | Allow strings to be passed as transform origin on TS | Dani | 2020-11-16 | 1 | -1/+1 |
| | | | | | | | | | | We need this to be able to pass strings like "top-right" or "center" as transform origin on TypeScript, as they're already supported on JavaScript. @neomorfeo | ||||
* | | Add style() to Container on TS bindings | Dani | 2020-11-12 | 1 | -0/+1 |
|/ | | | | | We need this to be able to define styles on the SVG from TypeScript. @neomorfeo | ||||
* | Add attribute `rotate` to `MatrixTransformParam` (#1149) | jhajjaarap | 2020-09-05 | 1 | -0/+1 |
| | | | Add attribute `rotate` to `MatrixTransformParam` | ||||
* | Remove extends ElementAlias from List items | José C. Paiva | 2020-06-14 | 1 | -3/+2 |
| | |||||
* | Fix types for List and ForeignObject | José C. Paiva | 2020-06-14 | 1 | -8/+9 |
| | |||||
* | Update svg.js.d.ts | Ulrich-Matthias Schäfer | 2020-06-13 | 1 | -1/+1 |
| | | | Implementing ElementAlias doesnt work because method definitions clash | ||||
* | Added exports from window.js | Pedro José Batista | 2020-06-02 | 1 | -0/+4 |
| | |||||
* | Merge branch 'master' into some-more-typings | Ulrich-Matthias Schäfer | 2020-06-01 | 1 | -7/+17 |
|\ | |||||
| * | Better typing for css getter/setter | Glandos | 2020-05-27 | 1 | -5/+8 |
| | | | | | | | | CSSStyleDeclaration contains readonly rule, so I excluded them, otherwise it doesn't make sense I didn't touch the Runner `css()` because I don't know the exact behavior of it. | ||||
| * | Add optional string type to Runner.ease | Andrew Rodgers | 2020-05-19 | 1 | -1/+1 |
| | | | | | | | | The ease method on the runner takes the same constructor strings as the Ease class, so you can do things like element.animate(1000).ease('-').rotate(360).loop() Currently typescript throws an error saying that ease only accepts a Function as an argument. | ||||
| * | sorted method names | Ulrich-Matthias Schäfer | 2020-05-19 | 1 | -1/+0 |
| | | |||||
| * | remove union return value | pragdave | 2020-05-07 | 1 | -2/+2 |
| | | |||||
| * | 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. | ||||
* | | Fix add method for ForeignObject | Ulrich-Matthias Schäfer | 2020-06-01 | 1 | -1/+1 |
| | | |||||
* | | Fix constructor typings for ForeignElement | Ulrich-Matthias Schäfer | 2020-06-01 | 1 | -1/+2 |
| | | |||||
* | | add string parameters to Runner.ease() | pragdave | 2020-05-31 | 1 | -9/+15 |
| | | |||||
* | | slowly iterating towards List nirvana. FO still pending... | pragdave | 2020-05-31 | 1 | -4/+4 |
| | | |||||
* | | Fix up List (maybe). ForeignObject still open for discussion | pragdave | 2020-05-30 | 1 | -7/+4 |
| | | |||||
* | | aff foreignObject to types, get get List working | pragdave | 2020-05-30 | 1 | -3/+13 |
|/ | |||||
* | 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 |
| |