Commit Graph

80 Commits

Author SHA1 Message Date
Anton Lavrenov
830eb53650 bugs fixes, docs updates. fix #535 2019-01-11 08:51:46 -05:00
Ivan
24001ec7aa
"setAttrs" must accept same arg than constructor
Any class that extends from Node must take the same argument on setAttrs as its constructor.

TODO: Check for classes missing on this PR, which only fixes classes that extend from Shape
2019-01-02 21:12:27 -05:00
Anton Lavrenov
6de50d8ffd type fixes 2018-12-18 12:19:51 -05:00
cyrilmesvayn
1d39f5293a
Update konva.d.ts for getRGB
getRGB returns an object with RGB values, not a string. I've set up a type RGB. 

Feel free to edit to your heart's content.
2018-12-12 12:56:27 -05:00
Yingjie Liu
d33a79940b
Update konva.d.ts
fix Layer FastLayer generic type definition
2018-11-28 17:50:49 +08:00
Anton Lavrenov
352f493d0a getKerning TextPath API is deprecated. Use "kerningFunc" instead. 2018-11-17 08:50:31 -05:00
Halil İbrahim Karaalp
6b8937012c Fixes #491 2018-11-09 19:46:37 +03:00
Halil İbrahim Karaalp
acdec06c4f Fixes #490 2018-11-09 19:40:36 +03:00
Igor Babkin
3a3d094f8a Methods which return Konva.Collection have problems with generic typing #443 2018-10-19 19:11:01 +03:00
Anton Lavrenov
9c2fa8d315
Merge pull request #472 from IgorBabkin/easings-typings
Add typings for easing namespace
2018-10-15 08:08:56 -05:00
Igor Babkin
ad6fcd3ef6 Add typings for easing namespace 2018-10-14 21:59:24 +03:00
Marco Vettorello
2b12b74d30 Add KonvaEventObject type 2018-10-11 15:53:38 +02:00
Marco Vettorello
aafb1b91c8 Add verticalAlign getter/setter types 2018-09-21 15:22:48 +02:00
Marco Vettorello
22aa3d3734 Add verticalAlign type to TextConfig 2018-09-21 15:19:02 +02:00
Anton Lavrenov
4ac38ddc1f new centeredScaling for Konva.Transformer 2018-09-19 15:00:27 +03:00
Anton Lavrenov
cce200d191 fix types 2018-09-08 22:39:23 +03:00
Heeryong Kang
6996dc8954
Added generic for HandlerFunc evt 2018-08-30 15:35:33 +09:00
Anton Lavrenov
f453ddbd5d
Merge pull request #439 from IgorBabkin/collection-typings
Add generic variable to Collection
2018-08-22 18:11:02 +07:00
Igor Babkin
698fe0f49b Add generic variable to Collection 2018-08-22 13:32:38 +03:00
Anton Lavrenov
11b9961395 typescript fix. close #424 2018-08-21 15:58:51 +07:00
Anton Lavrenov
973e7932e4 typescript fixes, id warning template 2018-08-21 14:13:53 +07:00
Marcin Majkowski
ede310a19c Add missing frameRate SpriteConfig typing and Sprite documentation entry 2018-08-03 23:36:49 +02:00
Anton Lavrenov
28df587b27
Merge branch 'master' into master 2018-07-18 14:47:13 +07:00
Anton Lavrenov
04c921c13c
Merge pull request #414 from IgorBabkin/handlerfunc-target-optional
Make target in HandlerFunc optional
2018-07-18 14:44:47 +07:00
Parthiv Shah
a2c5920d4d
Updated Konva.d.ts
Added KonvaNodeEventMap to determine event type correctly based on eventString similar to lib.es6.d.ts. and added missing type definitions.
2018-07-17 15:32:41 +05:30
Igor Babkin
f67012cea6 Make target in HandlerFunc optional 2018-07-16 11:43:01 +03:00
IgorBabkin
7af4e4128a Add typings for user events (review notes) 2018-07-15 21:41:11 +03:00
IgorBabkin
e1aa96a8b5 Add typings for user events 2018-07-15 15:07:43 +03:00
MaxGraey
d2b2dd2f66 Add some missing definisions 2018-06-19 13:53:15 +03:00
Anton Lavrenov
7400977f50 typescript and docs fixes 2018-06-15 14:50:36 +07:00
Kingsquare BV
b0d043d01d Typescript for Node.getContent is in line with documentation. Node.getContext is removed. 2018-06-01 12:25:28 +02:00
Kingsquare BV
cae6407481 Typescript for Node.toCanvas / Node.toDataURL / Node.toImage is in line with documentation 2018-06-01 11:28:20 +02:00
Anton Lavrenov
63f7936240 Merge branch 'master' of github.com:konvajs/konva 2018-05-24 10:59:35 +09:00
Anton Lavrenov
9b2d439751 prettier, fix some tests, new test runner 2018-05-24 10:59:08 +09:00
H.Alper Tuna
a299e87682
Added some missing type script definitions 2018-05-18 22:33:32 +03:00
Anton Lavrenov
417b9a1adb update CHANGELOG with new version 2018-05-16 11:42:32 +09:00
Florian Richter
986b2db8db Add bezier property to Line typings 2018-05-02 08:57:49 +02:00
Thomas Röggla
e96889677c fixed type definitions for find() and findOne() 2018-04-17 14:43:34 +02:00
Adam L
2466ea61b0 refactor findOne method 2018-03-26 22:52:08 -07:00
Adam L
a2c342cf6e migrate find fn to single method 2018-03-24 17:18:11 -07:00
Adam L
8bb59548e5 add findWhere method to Containers 2018-03-21 19:20:59 -07:00
oott123
afe3b9f384 add globalCompositeOperation (fix #362) 2018-03-19 11:17:46 +08:00
Anton Lavrenov
3c6170072b type fixes 2018-03-16 11:14:36 +07:00
WesleiRamos
7532214eaf Add "Transformer" typescript definition 2018-03-15 22:16:58 -03:00
Anton Lavrenov
db10dc5081 made small type change 2018-03-12 07:36:34 +07:00
Mario Lubenka
2420f1e838 add Konva.Image.fromURL to TS definitions. close #356 2018-03-10 22:27:40 +01:00
Anton Lavrenov
d1fbcae49e another typescript fix 2018-03-10 14:49:11 +07:00
Anton Lavrenov
8bc89909e3 fix radial typings 2018-03-10 14:48:07 +07:00
Anton Lavrenov
58d3731f76 cleanup and type fixes 2018-02-27 09:01:15 +08:00
Anton Lavrenov
1bbc433262 types fixes 2018-02-27 08:55:54 +08:00