From b393fd1756398f7f7f60fb0d32eba7c2ed2d463a Mon Sep 17 00:00:00 2001 From: jos Date: Fri, 5 Sep 2014 11:21:23 +0200 Subject: [PATCH] Updated history --- HISTORY.md | 1 + examples/timeline/23_data_attributes.html | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 405f6a1b..4b13ff48 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -16,6 +16,7 @@ http://visjs.org ### Timeline +- Implemented support for attaching HTML attributes to items. - Fixed moment.js url in localization example. - Fixed `className` of groups not being updated when changed. - Fixed the `id` field of a new item not correctly generated. diff --git a/examples/timeline/23_data_attributes.html b/examples/timeline/23_data_attributes.html index 4ccf0857..477f1a80 100644 --- a/examples/timeline/23_data_attributes.html +++ b/examples/timeline/23_data_attributes.html @@ -13,6 +13,10 @@ +

+ In this example all items get an HTML attribute attached: each item gets an attribute data-id, and items 1 and 6 have an additional attribute data-tooltip. +

+