@types/vis
Advanced tools
Comparing version 4.21.15 to 4.21.16
@@ -16,2 +16,3 @@ // Type definitions for vis.js 4.21 | ||
// Sam Welek <https://github.com/tiberiushunter> | ||
// Slaven Tomac <https://github.com/slavede> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -780,4 +781,6 @@ | ||
/** | ||
* Add new vertical bar representing a custom time that can be dragged by the user. Parameter time can be a Date, Number, or String, and is new Date() by default. | ||
* Parameter id can be Number or String and is undefined by default. The id is added as CSS class name of the custom time bar, allowing to style multiple time bars differently. | ||
* Add new vertical bar representing a custom time that can be dragged by the user. | ||
* Parameter time can be a Date, Number, or String, and is new Date() by default. | ||
* Parameter id can be Number or String and is undefined by default. | ||
* The id is added as CSS class name of the custom time bar, allowing to style multiple time bars differently. | ||
* The method returns id of the created bar. | ||
@@ -863,3 +866,4 @@ */ | ||
/** | ||
* Set a current time. This can be used for example to ensure that a client's time is synchronized with a shared server time. Only applicable when option showCurrentTime is true. | ||
* Set a current time. This can be used for example to ensure that a client's time is synchronized with a shared server time. | ||
* Only applicable when option showCurrentTime is true. | ||
*/ | ||
@@ -900,3 +904,4 @@ setCurrentTime(time: DateType): void; | ||
/** | ||
* Set or update options. It is possible to change any option of the timeline at any time. You can for example switch orientation on the fly. | ||
* Set or update options. It is possible to change any option of the timeline at any time. | ||
* You can for example switch orientation on the fly. | ||
*/ | ||
@@ -906,3 +911,4 @@ setOptions(options: TimelineOptions): void; | ||
/** | ||
* Select one or multiple items by their id. The currently selected items will be unselected. To unselect all selected items, call `setSelection([])`. | ||
* Select one or multiple items by their id. The currently selected items will be unselected. | ||
* To unselect all selected items, call `setSelection([])`. | ||
*/ | ||
@@ -1869,2 +1875,9 @@ setSelection(ids: IdType | IdType[], options?: { focus: boolean, animation: TimelineAnimationOptions }): void; | ||
/** | ||
* If false, no widthConstraint is applied. If a number is specified, the minimum and maximum widths of the node are set to the value. | ||
* The node's label's lines will be broken on spaces to stay below the maximum and the node's width | ||
* will be set to the minimum if less than the value. | ||
*/ | ||
widthConstraint?: number | boolean | { minimum?: number, maximum?: number }; | ||
x?: number; | ||
@@ -1871,0 +1884,0 @@ |
{ | ||
"name": "@types/vis", | ||
"version": "4.21.15", | ||
"version": "4.21.16", | ||
"description": "TypeScript definitions for vis.js", | ||
@@ -71,2 +71,7 @@ "license": "MIT", | ||
"githubUsername": "tiberiushunter" | ||
}, | ||
{ | ||
"name": "Slaven Tomac", | ||
"url": "https://github.com/slavede", | ||
"githubUsername": "slavede" | ||
} | ||
@@ -85,4 +90,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "3fb84b8bb63a7599da747a9ada286c48fdaa9611fbf598ee54f0d47a943eea16", | ||
"typesPublisherContentHash": "ca2160d90fc2e871238a9d00e246ad84c0c41031b7be95464a79e4a13ca48483", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 26 Apr 2019 03:22:05 GMT | ||
* Last updated: Tue, 28 May 2019 18:59:45 GMT | ||
* Dependencies: @types/moment | ||
@@ -17,2 +17,2 @@ * Global values: vis | ||
# Credits | ||
These definitions were written by Michaël Bitard <https://github.com/MichaelBitard>, MacLeod Broad <https://github.com/macleodbroad-wf>, Adrian Caballero <https://github.com/adripanico>, Severin <https://github.com/seveves>, kaktus40 <https://github.com/kaktus40>, Matthieu Maitre <https://github.com/mmaitre314>, Adam Lewis <https://github.com/supercargo>, Alex Soh <https://github.com/takato1314>, Oleksii Kachura <https://github.com/alex-kachura>, dcop <https://github.com/dcop>, Avraham Essoudry <https://github.com/avrahamcool>, Dmitriy Trifonov <https://github.com/divideby>, Sam Welek <https://github.com/tiberiushunter>. | ||
These definitions were written by Michaël Bitard <https://github.com/MichaelBitard>, MacLeod Broad <https://github.com/macleodbroad-wf>, Adrian Caballero <https://github.com/adripanico>, Severin <https://github.com/seveves>, kaktus40 <https://github.com/kaktus40>, Matthieu Maitre <https://github.com/mmaitre314>, Adam Lewis <https://github.com/supercargo>, Alex Soh <https://github.com/takato1314>, Oleksii Kachura <https://github.com/alex-kachura>, dcop <https://github.com/dcop>, Avraham Essoudry <https://github.com/avrahamcool>, Dmitriy Trifonov <https://github.com/divideby>, Sam Welek <https://github.com/tiberiushunter>, Slaven Tomac <https://github.com/slavede>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63459
1719