diff --git a/docs/timeline/index.html b/docs/timeline/index.html index 4f92289e..278d9f4c 100644 --- a/docs/timeline/index.html +++ b/docs/timeline/index.html @@ -1001,6 +1001,12 @@ function (option, path) {
what
(String or null): name of the clicked thing: item
, background
, axis
, group-label
, custom-time
, or current-time
.event
(Object): the original click event.+document.getElementById('myTimeline').onclick = function (event) { + var props = timeline.getEventProperties(event) + console.log(props); +}