Browse Source

Updated dataAttributes documentation for 'all' option

v3_develop
Dan Turkenkopf 10 years ago
parent
commit
858b230760
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      docs/timeline.html

+ 3
- 2
docs/timeline.html View File

@ -381,9 +381,10 @@ var options = {
<tr> <tr>
<td>dataAttributes</td> <td>dataAttributes</td>
<td>Array[String]</td>
<td>Array[String] | 'all'</td>
<td>false</td> <td>false</td>
<td>An array of fields optionally defined on the timeline items that will be appended as <code>data-</code> attributes to the DOM element of the items.</td>
<td>An array of fields optionally defined on the timeline items that will be appended as <code>data-</code> attributes to the DOM element of the items.<br>
If value is <code>'all'</code> then each field defined on the timeline item will become a <code>data-</code> attribute.</td>
</tr> </tr>

Loading…
Cancel
Save