Browse Source

Updated history

v3_develop
jos 10 years ago
parent
commit
b393fd1756
2 changed files with 5 additions and 0 deletions
  1. +1
    -0
      HISTORY.md
  2. +4
    -0
      examples/timeline/23_data_attributes.html

+ 1
- 0
HISTORY.md View File

@ -16,6 +16,7 @@ http://visjs.org
### Timeline ### Timeline
- Implemented support for attaching HTML attributes to items.
- Fixed moment.js url in localization example. - Fixed moment.js url in localization example.
- Fixed `className` of groups not being updated when changed. - Fixed `className` of groups not being updated when changed.
- Fixed the `id` field of a new item not correctly generated. - Fixed the `id` field of a new item not correctly generated.

+ 4
- 0
examples/timeline/23_data_attributes.html View File

@ -13,6 +13,10 @@
<link href="../../dist/vis.css" rel="stylesheet" type="text/css" /> <link href="../../dist/vis.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<p>
In this example all items get an HTML attribute attached: each item gets an attribute <code>data-id</code>, and items 1 and 6 have an additional attribute <code>data-tooltip</code>.
</p>
<div id="visualization"></div> <div id="visualization"></div>
<script type="text/javascript"> <script type="text/javascript">

Loading…
Cancel
Save