Browse Source

Updated docs

v3_develop
jos 9 years ago
parent
commit
76f30e74e4
1 changed files with 32 additions and 0 deletions
  1. +32
    -0
      docs/graph2d.html

+ 32
- 0
docs/graph2d.html View File

@ -813,6 +813,29 @@ Graph2d.clear({options: true}); // clear options only
</td> </td>
</tr> </tr>
<tr>
<td>click</td>
<td>Fired when clicked inside the Graph2d.
</td>
<td>
Passes a properties object as returned by the method <a href="#getEventProperties"><code>Graph2d.getEventProperties(event)</code></a>.
</td>
</tr>
<tr>
<td>contextmenu</td>
<td>Fired when right-clicked inside the Graph2d. Note that in order to prevent the context menu from showing up, default behavior of the event must be stopped:
<pre class="prettyprint lang-js">graph2d.on('contextmenu', function (props) {
alert('Right click!');
props.event.preventDefault();
});
</pre>
</td>
<td>
Passes a properties object as returned by the method <a href="#getEventProperties"><code>Graph2d.getEventProperties(event)</code></a>.
</td>
</tr>
<tr> <tr>
<td>destroy()</td> <td>destroy()</td>
<td>none</td> <td>none</td>
@ -820,6 +843,15 @@ Graph2d.clear({options: true}); // clear options only
</td> </td>
</tr> </tr>
<tr>
<td>doubleClick</td>
<td>Fired when double clicked inside the Graph2d.
</td>
<td>
Passes a properties object as returned by the method <a href="#getEventProperties"><code>Graph2d.getEventProperties(event)</code></a>.
</td>
</tr>
<tr> <tr>
<td>getCurrentTime()</td> <td>getCurrentTime()</td>
<td>Date</td> <td>Date</td>

Loading…
Cancel
Save