Commit Graph
11 Commits
Author SHA1 Message Date
Andy Hanson 21065fcb6b Enable "esModuleInterop" in all tsconfigs 2018-02-05 09:49:31 -08:00
Jan-Niclas Strüwer be285f96bf step() option in animate function is optional. examples in cytoscape js docu (http://js.cytoscape.org/#cy.animate) use animate without step parameter. (#22916) 2018-01-17 09:55:43 -08:00
Yuri Pereira Constante 190d645dd6 cytoscape: add myself to the 'Definitions by' 2017-12-23 20:47:13 -02:00
Yuri Pereira Constante 785b3b7d20 cytoscape: add type to cy property in AbstractEventObject 2017-12-23 20:46:57 -02:00
Yuri Pereira Constante e2b3df8962 cytoscape: layout events with LayoutEventObject as parameter 2017-12-23 20:46:38 -02:00
Yuri Pereira Constante 75c8ba719c cytoscape: join layout options declarations 2017-12-23 20:45:09 -02:00
Jan-Niclas Strüwer 947a197a89 the documentation correctly describes that a layout object should be returned by the method calls layout and makeLayout. It is essential that you are able to call layoutObject.run() after setting a new layout, because else the layout change will not be applied. 2017-11-06 11:42:17 +01:00
Jan-Niclas Strüwer cfadfad94f Extended possible layout options with baselayout to support registration of custom extensions. For more details see https://github.com/DefinitelyTyped/DefinitelyTyped/issues/21226 for more details 2017-11-03 13:37:17 +01:00
Andy 097d2acf71 Miscellaneous lint fixes (#20849) 2017-10-22 15:22:50 -07:00
Shenghan Gao 9266e419ed fix export issue for cytoscape (#20616) 2017-10-17 09:06:08 -07:00
Shenghan Gao e1228267bb Add types for Cytoscapejs (#20511)
* base (master) branch where all common changes start

* base (master) branch where all common changes start

* updated readme

* updated readme

* initial commit for cytoscape js

* update version

* added return types of void

* container can be jQuery

* container is not a jQuery but a get() works

* added style properties

* added style properties

* allow remove on CollectionElements

* added docs and algorithms

* added layout typings

* added layout intellisence and optional

* added missing elements from the api, may be broken

* incorporate CSS

* Remove OS restrictions

Previously, OS was restricted to only `linux`. However cytoscape.js does not appear to have any os restrictions defined in it's [`package.json`](https://github.com/cytoscape/cytoscape.js/blob/master/package.json).

* updated to match cytoscape 3.x

* updated version

* missing setter fro style

* target may not be present and type must be a string
That type can only be one of the specified event types.

* updated versions

* updated for IDE

* updated version to 0.0.1

* There is no known operating-system restriction.

* not an angular project

* type for cytoscapejs

* fixing types half way

* fix all travis errors and added some tests

* use HTMLElement instead of any for container

* add strictFunctionTypes
2017-10-13 03:15:35 -07:00