Skip to content
Snippets Groups Projects
Commit 62ae58e8 authored by josdejong's avatar josdejong
Browse files

Updated documentation on className

parent 807b06ec
No related branches found
No related tags found
3 merge requests!3714Showcase project #2,!3302#1852 - Corrects documentation,!3303#2839 - Corrects documentation for DataSet get and how multiple missi…
......@@ -216,13 +216,13 @@ var items = [
<td>no</td>
<td>This field is optional. A className can be used to give items
an individual css style. For example, when an item has className
'red', one can define a css style
<code>
.red {
background-color: red;
border-color: dark-red;
}
</code>.
'red', one can define a css style like:
<pre class="prettyprint lang-css">
.vis.timeline .red {
color: white;
background-color: red;
border-color: darkred;
}</pre>
More details on how to style items can be found in the section
<a href="#Styles">Styles</a>.
</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment