Browse Source

Fixed #1630: fixed docs of `getItemRange` and `getDataRange` in docs

codeClimate
jos 8 years ago
parent
commit
014645d154
3 changed files with 23 additions and 7 deletions
  1. +11
    -0
      HISTORY.md
  2. +6
    -7
      docs/graph2d/index.html
  3. +6
    -0
      docs/timeline/index.html

+ 11
- 0
HISTORY.md View File

@ -2,6 +2,17 @@
http://visjs.org http://visjs.org
## not yet released, version 4.14.1
### Timeline
- Fixed #1630: method `getItemRange` missing in docs.
### Graph2d
- Fixed #1630: method `getDataRange` was wrongly called `getItemRange` in docs.
## 2016-02-04, version 4.14.0 ## 2016-02-04, version 4.14.0
### Timeline ### Timeline

+ 6
- 7
docs/graph2d/index.html View File

@ -1145,6 +1145,12 @@ function (option, path) {
</td> </td>
</tr> </tr>
<tr>
<td>getDataRange()</td>
<td>Object</td>
<td>Get the range of all the items as an object containing <code>min: Date</code> and <code>max: Date</code>.</td>
</tr>
<tr id="getEventProperties"> <tr id="getEventProperties">
<td>getEventProperties(event)</td> <td>getEventProperties(event)</td>
<td>Object</td> <td>Object</td>
@ -1176,13 +1182,6 @@ function (option, path) {
<td>Get the current visible window. Returns an object with properties <code>start: Date</code> and <code>end: Date</code>.</td> <td>Get the current visible window. Returns an object with properties <code>start: Date</code> and <code>end: Date</code>.</td>
</tr> </tr>
<tr>
<td>getItemRange()</td>
<td>Object</td>
<td>Get the range of all the items as an object containing <code>min: Date</code> and <code>max: Date</code>.</td>
</tr>
<tr> <tr>
<td>isGroupVisible(groupId)</td> <td>isGroupVisible(groupId)</td>
<td>Boolean</td> <td>Boolean</td>

+ 6
- 0
docs/timeline/index.html View File

@ -1150,6 +1150,12 @@ document.getElementById('myTimeline').onclick = function (event) {
</td> </td>
</tr> </tr>
<tr>
<td>getItemRange()</td>
<td>Object</td>
<td>Get the range of all the items as an object containing <code>min: Date</code> and <code>max: Date</code>.</td>
</tr>
<tr> <tr>
<td>getSelection()</td> <td>getSelection()</td>
<td>number[]</td> <td>number[]</td>

Loading…
Cancel
Save