Commit Graph

14 Commits

Author SHA1 Message Date
Adam Lewis
42e7580956 [vis] timeline: add types for custom ordering functions (#20031)
* add types for custom ordering functions

* fix trailing whitespace

* include dependency on moment  (2.13 being the first version to include types)
add type for moment constructor for use in timeline and graph2d options
2017-09-26 10:55:38 -07:00
Andy
cb2dbfbb50 Add ignores for new lint rules (#19504) 2017-09-01 07:47:52 -07:00
Nathan Shively-Sanders
dbfe8a1688 Make All LocaleMessages properties required
Also fix lint.
2017-08-08 08:57:29 -07:00
Nathan Shively-Sanders
deebe017e7 vis: Add types for Options.locales 2017-08-07 14:54:44 -07:00
Nathan Shively-Sanders
cf4aa3574f Merge pull request #17326 from jeffrysteven/master
Update @types/vis index.d.ts - rollingMode option from boolean to object.
2017-06-20 15:10:52 -07:00
Jeffry Steven Lenis
3a7dbdc1cb Update rollingMode option to object.
Timeline implements rolling mode with an object configuration instead boolean type.
2017-06-20 09:12:55 -05:00
petrce
e2e2568f83 Update index.d.ts
added missing DataGroup.nestedGroups according this example: http://visjs.org/examples/timeline/groups/nestedGroups.html
2017-06-19 14:55:04 +01:00
Severin
faaec1416d Updating template function defintion (#15936)
* Updating template function defintion

As mentioned [here](https://github.com/seveves/ng2-vis/issues/32) there is a problem with the definition of the template functions. We really should allow any as a return value because you can return a string, Handlebars, mustache or even react templates. As you can see [here](http://visjs.org/docs/timeline/#Templates) the template function always has three parameters. I made them optional because you don't have to use them at all.

* Using fat arrow syntax

I think this is the right way to do it.

* Fix lint error
2017-05-01 16:04:51 -07:00
Andy
e50f8878a5 Use new strict-export-declare-modifiers lint rule (#15844) 2017-04-14 08:20:12 -07:00
Andy
bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Jan Van Ryckeghem
803c349a1b increment version 2017-03-31 14:36:19 +02:00
Jan Van Ryckeghem
0e2ddee324 All VisJS config options are optional.
http://visjs.org/docs/timeline/#Configuration_Options
2017-03-31 14:30:15 +02:00
Andy
ff0d451b56 Fix various lint errors (#15529) 2017-03-30 15:33:16 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00