summaryrefslogtreecommitdiffstats
path: root/src/element.js
Commit message (Collapse)AuthorAgeFilesLines
* ids are not generated upon creation anymoreUlrich-Matthias Schäfer2017-04-231-2/+8
| | | | Instead they are generated when requested (#559)
* changed `style()` to `css()`Ulrich-Matthias Schäfer2017-04-221-3/+3
| | | | | it now accepts array as input and returns object when no argument given (#517) also removed sub-pixel offset fix
* prefix globals with window so window can be injected properlyUlrich-Matthias Schäfer2017-03-181-1/+1
|
* removing SVG.Set completelyUlrich-Matthias Schäfer2017-03-161-3/+2
|
* rework import/export method to be more straight forward and without regex magicUlrich-Matthias Schäfer2017-03-161-16/+11
|
* Merge branch 'master' into 3.0.0Ulrich-Matthias Schäfer2017-03-161-1/+1
|\ | | | | | | | | | | | | Conflicts (all resolved): dist/svg.js dist/svg.min.js spec/spec/boxes.js
| * move most regexe to SVG.regex, fix matrix constructor for string argumentUlrich-Matthias Schäfer2017-03-141-1/+1
| |
* | Making initial changes for svg.js v3.0Ulrich-Matthias Schäfer2017-03-101-5/+1
|/ | | | | | | | | | | | - removed `SVG.Array.split()` function (#604) - removed workaround for browser bug with stroke-width (#560) - removed polyfills - removed `ungroup()` in favour of `flatten()` - gradients now have their corresponding nodename as type and not only radial/linear (#606) - `SVG.Path.pointAt()` correctly returns an `SVG.Point` now (#607) - replaced static reference to `masker` in `SVG.Mask` with the `masker()` method - replaced static reference to `clipper` in `SVG.ClipPath` with the `clipper()` method - replaced static reference to `targets` in `SVG.Mask` and `SVG.ClipPath` with the `targets()` method (all three #563)
* fixed a bug with clone which didnt copy over dom data (#621)Ulrich-Matthias Schäfer2017-03-091-1/+4
|
* make events cancelable by default (#550) - version 5Ulrich-Matthias Schäfer2017-03-091-0/+1
|
* Speed improvements on parent elementwout2016-08-041-1/+1
|
* fixed bbox when element is not in the dom (#480), added parameter to `clone`Ulrich-Matthias Schäfer2016-05-131-3/+4
|
* Implementation new fx moduleUlrich-Matthias Schäfer2016-03-231-0/+3
|
* Update element.jsMilovan Zogovic2016-01-221-1/+1
| | | I've encountered situation where SVG.adopt (line 176) returns null, which leads to `Uncaught TypeError: Cannot read property 'node' of null`. Checking whether parent exists fixes it.
* fixed `svgjs:data` attribute which was not set properly in all browsers (#428)Ulrich-Matthias Schäfer2016-01-211-1/+1
| | | | | added specs for `writeDataToDom()` and `setData()` added toJSON in SVG.Number
* dom data was not cleaned up properly (fixes #398)Ulrich-Matthias Schäfer2015-11-181-1/+4
|
* svgjs now saves crucial data in the dom (fixes #369 again)Ulrich-Matthias Schäfer2015-11-061-0/+28
|
* add `parents()` method, added specs, fixed specsUlrich-Matthias Schäfer2015-10-261-8/+28
|
* added support for css selectors with the `parent()` methodUlrich-Matthias Schäfer2015-10-251-3/+3
|
* Fixes #360Ulrich-Matthias Schäfer2015-07-051-4/+4
|
* remove useless executable permissionPeter Dave Hello2015-06-231-0/+0
|
* Removed scale consideration in `move()`Ulrich-Matthias Schäfer2015-06-211-8/+0
| | | | It wasn't compatible to the other move-functions e.g. for the PointArray
* Fixed bug with doc() which should always return the root SVGUlrich-Matthias Schäfer2015-06-151-1/+1
| | | | Replaced split-function with an easier and faster one
* Fixed bug in clone() methodwout2014-09-021-8/+16
|
* Added SVG.Bare for creation of non-described elementswout2014-08-011-4/+4
|
* Added svg import / export functionaltywout2014-08-011-0/+28
|
* Further debugging matrix new implementationwout2014-07-121-2/+2
|
* Completely reworked transform systemwout2014-07-111-134/+12
|
* Added new SVG.Line class and working on SVG.Matrixwout2014-06-281-77/+9
|
* Complete new clone() methodwout2014-06-261-30/+1
|
* Added SVG.Circle, removed structural internal referenceswout2014-06-251-14/+15
|
* Removed all structural referenceswout2014-06-211-45/+40
|
* Added marker, symbol and dynamic referencingwout2014-06-171-4/+11
|
* Bumped to version 1.0.0-rc.7wout2014-06-111-2/+2
| | | | Look at change log for full overview of changes.
* toggleClass returns the svg instancePatrick Klingemann2014-06-091-0/+1
|
* trim class attribute whitespacePatrick Klingemann2014-06-091-1/+1
|
* avoid unintentional global variablesPatrick Klingemann2014-06-091-1/+3
|
* add classes, hasClass, addClass, removeClass, toggleClass functions to ElementPatrick Klingemann2014-06-021-1/+41
|
* Fixed a bug where Element.style() would not save empty values in IE11Xavier Roger-Machart2014-05-021-1/+1
|
* Bumped to 1.0.0-rc.6wout2014-03-041-79/+22
|
* Completely reworked `SVG.Text`, `SVG.TSpan` and `SVG.PathArray` and bumped ↵wout2014-02-141-41/+20
| | | | to 1.0.0-rc.5
* Added loader on SVG.Image and included svg.pattern.js to the corewout2014-02-051-0/+11
|
* Implemented SVG.invent function and bumped to v1.0rc3wout2014-02-031-382/+382
|
* added `morph()` and `at()` methods to `SVG.Number` for unit morphingwout2014-02-011-2/+2
|
* Added SVG.PathArray, updated data() and bumped to v1.0rc1wout2014-01-291-28/+20
|
* Added addTo() and putIn() methods, added more detailed documentationwout2014-01-251-0/+8
|
* Bumped to v0.33wout2014-01-221-1/+15
|
* Added support for CommonJS and AMD, bunped to v0.300.31wout2013-07-261-1/+5
|
* Added SVG.Array and bumped to v0.29wout2013-07-251-1/+5
|
* Various IE9 and IE10 fixeswout2013-07-041-13/+13
|