Ulrich-Matthias Schäfer
2b12c6a5ff
remove test for show()
2018-02-06 23:17:43 +01:00
Ulrich-Matthias Schäfer
47568ce3a8
remove SVG.A.show()
to resolve nameclash ( fix #802 )
2018-02-06 23:12:35 +01:00
Ulrich-Matthias Schäfer
1f8a1993da
improved SVG.on and el.on ( #727 )
...
- `SVG.on()` calls the listener in the context of the passed object. el.on always uses the svg.js object as context
- `SVG.on()` and `el.on()` now accepts multiple comma or space seperated events e.g. "mousedown, foo bar" (#727 )
2017-07-28 15:07:36 +02:00
Ulrich-Matthias Schäfer
6faf2c538a
The dom is checked for an svgjs:data attribute which is imported when creating an element
2017-07-28 14:20:48 +02:00
Ulrich-Matthias Schäfer
ecea84ea3a
fix bug where defs returns nothing
2017-07-25 14:52:13 +02:00
Ulrich-Matthias Schäfer
ee0b340bfe
add new default constructor ( #714 )
2017-07-25 14:19:49 +02:00
Ulrich-Matthias Schäfer
d6d3891334
Lots of breaking changes. Read below! ( #646 , #716 )
...
- added `SVG.HTMLNode` which is the object wrapped around html nodes to put something in them
- moved `defs()` method from `SVG.Parent` to `SVG.Element`
- `SVG()` can be called with css selector, node or svg string, now. Without an argument it creates a new `SVG.Doc()` (#646 )
- `add()`, `put()`, `addTo()`, `putIn()` now excepts all arguments accepted by `SVG()`
- `SVG.Nested` is not `overflow:visible` by default
- all `SVG.*` objects now can have a node as parameter when constructing
- `SVG()` does not set a default size anymore
2017-07-25 09:14:48 +02:00
Ulrich-Matthias Schäfer
bc9bfb6025
use children
instead of childNodes
( #710 ), renamed previous()
to prev()
2017-07-10 13:51:06 +02:00
Ulrich-Matthias Schäfer
932969dca9
renamed fill()
method on SVG.Gradient
and SVG.Pattern
to url()
( #708 )
2017-07-07 14:02:39 +02:00
Ulrich-Matthias Schäfer
dfae5055f1
renamed SVG.Stop
constructor at()
on SVG.Gradient
to stop()
( #707 )
2017-07-07 11:24:24 +02:00
Ulrich-Matthias Schäfer
b9ce105304
reworked textPath (see #705 )
2017-07-07 09:43:02 +02:00
Ulrich-Matthias Schäfer
f1bd0b48ea
Merge branch 'master' into 3.0.0
...
Conflicts (All resolved):
dist/svg.js
dist/svg.min.js
package.json
src/doc.js
2017-07-06 11:07:29 +02:00
Ulrich-Matthias Schäfer
a19b4f1dfe
fix array values which were not animated ( #698 )
2017-07-06 10:16:31 +02:00
Ulrich-Matthias Schäfer
f7b38e94a9
Merge pull request #686 from maltefl/typescript_fixes
...
TypeScript fixes and remove unused parameter
2017-06-06 11:59:39 +01:00
Malte Fastrup Lyngsø
a52b5dd523
Syntax fixes in TypeScript declaration file
2017-06-06 12:30:44 +02:00
Malte Fastrup Lyngsø
4e0c3272cc
Removed unused parameter spof of function spof()
2017-06-06 12:01:34 +02:00
Ulrich-Matthias Schäfer
ecc3882209
bump 2.6.2
2017-06-05 11:35:23 +02:00
Ulrich-Matthias Schäfer
dc9fc77a86
changelog, gitignore
2017-06-04 21:45:35 +02:00
Rémi Tétreault
49d15fa977
Update CHANGELOG and rebuild the lib
2017-05-27 01:20:09 -04:00
Jon Ege Ronnenberg
3a496c6882
Fixed links to releases
2017-05-27 01:04:31 +02:00
Rémi Tétreault
dbbcc16698
Merge pull request #676 from jcorentin/fix-height-width-animation
...
Make width() and height() setters animatable
2017-05-26 18:51:36 -04:00
Youngrok Kim
d80d692271
Add missing type definitions to svg.js.d.ts ( #680 )
2017-05-20 08:42:32 +01:00
Rémi Tétreault
efc4fdf111
fixed SVG.FX.step
so that the animation doesn't stop if an afterAll callback call animate ( #677 )
2017-05-14 13:21:50 -04:00
Corentin J
830e4c70b1
Add unit tests for width & height animation
2017-05-11 14:49:52 +02:00
Corentin J
7c9ec3c9b0
Add animatable width & height
2017-05-11 14:35:25 +02:00
Rémi Tétreault
5f22d28f66
revert the previous commit
...
remove the typeof check in the initialisation of SVG.Matrix
2017-05-02 21:52:46 -04:00
Rémi Tétreault
f9a7d38782
allow SVG.Matrix to be passed SVG.Number
2017-05-01 20:41:23 -04:00
Ulrich-Matthias Schäfer
bd04216e0b
Adds the intended functionality to call animate functions with multiple parameter ( #671 )
...
e.g. `el.animate().zoom(level, point)`
2017-04-30 22:29:10 +02:00
Rémi Tétreault
0ba5e1f394
fixed SVG.FX.once
so that it add its callback on the last situation instead of the current one
2017-04-30 15:14:11 -04:00
dotnetCarpenter
4204181064
format fixture svg and remove redundant css (use fixture.css instead)
2017-04-27 01:39:57 +02:00
dotnetCarpenter
e381a5fb6d
move fixtures to the fixtures folder
2017-04-27 01:01:46 +02:00
dotnetCarpenter
9ec3a403b6
updated jasmine to 2.6.0 and added @RmiTtro as maintainer
2017-04-26 18:33:10 +02:00
Ulrich-Matthias Schäfer
0e72ab2795
fix testcases
2017-04-25 15:15:39 +02:00
Ulrich-Matthias Schäfer
5816fdb903
SVG.extend
now expects exactly one module or an array of modules
...
Conflicts:
dist/svg.js
dist/svg.min.js
2017-04-25 15:10:09 +02:00
Ulrich-Matthias Schäfer
ac3b9941c7
fixed a bug in path parser which made it stop parsing when hitting z command ( #665 )
...
Conflicts:
bench/runner.html
dist/svg.js
dist/svg.min.js
package.json
2017-04-25 12:25:46 +02:00
Ulrich-Matthias Schäfer
9763d316c3
load correct benchmarks again
2017-04-25 12:07:29 +02:00
Ulrich-Matthias Schäfer
9325620c17
fixed a bug in path parser which made it stop parsing when hitting z command ( #665 )
2017-04-25 12:05:49 +02:00
Ulrich-Matthias Schäfer
54362a872c
ids are not generated upon creation anymore
...
Instead they are generated when requested (#559 )
2017-04-23 12:52:51 +02:00
Ulrich-Matthias Schäfer
ab1c07e80b
changed style()
to css()
...
it now accepts array as input and returns object when no argument given (#517 )
also removed sub-pixel offset fix
2017-04-22 22:16:36 +02:00
Ulrich-Matthias Schäfer
03d25548fe
rename style to css
2017-04-22 21:36:16 +02:00
Ulrich-Matthias Schäfer
408940add5
Merge branch 'master' into 3.0.0
...
# Conflicts - all resolved:
# dist/svg.js
# dist/svg.min.js
# package.json
# spec/SpecRunner.html
# spec/spec/boxes.js
# spec/spec/element.js
# spec/spec/image.js
# spec/spec/svg.js
# src/boxes.js
# src/flatten.js
# src/image.js
# src/polyfill.js
# src/style.js
# src/svg.js
2017-04-22 20:31:58 +02:00
Ulrich-Matthias Schäfer
04e21b18c3
added options
to on()
, back to sloppy mode
...
- added `options` object to `SVG.on()` and `el.on()` (#661 )
- back to sloppy mode because of problems with plugins (#660 )
2017-04-21 12:49:25 +02:00
Ulrich-Matthias Schäfer
d2b8d0ac6f
Merge pull request #661 from svgdotjs/feature-options-for-events
...
add options arguments to `on()`
2017-04-21 12:00:19 +02:00
Ulrich-Matthias Schäfer
1a42cd3b05
add options arguments to on()
2017-04-20 15:29:30 +02:00
Ulrich-Matthias Schäfer
a34b465a30
update changelog
2017-04-17 17:21:49 +02:00
Ulrich-Matthias Schäfer
230d2a2fa4
bump 2.5.3
2017-04-17 17:13:50 +02:00
Ulrich-Matthias Schäfer
5058edee3b
update readme
2017-04-17 16:37:49 +02:00
Rémi Tétreault
35ff6ba258
Fix the flip transform on both axis
...
This fix the bug that made calling flip without any argument (`element.flip()`)
not work.
2017-04-15 22:38:22 -04:00
dotnetCarpenter
82f60c4d8a
update changelog
2017-04-14 12:53:59 +02:00
Ulrich-Matthias Schäfer
a80fb52884
Merge pull request #655 from gitter-badger/gitter-badge
...
Add a Gitter chat badge to README.md
2017-04-13 13:46:29 +02:00