From 858b2307607743d2f586d51c7880cacd9ab39d4e Mon Sep 17 00:00:00 2001 From: Dan Turkenkopf Date: Wed, 17 Sep 2014 16:45:21 -0400 Subject: [PATCH] Updated dataAttributes documentation for 'all' option --- docs/timeline.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/timeline.html b/docs/timeline.html index fb02ad90..46eea6c7 100644 --- a/docs/timeline.html +++ b/docs/timeline.html @@ -381,9 +381,10 @@ var options = { dataAttributes - Array[String] + Array[String] | 'all' false - An array of fields optionally defined on the timeline items that will be appended as data- attributes to the DOM element of the items. + An array of fields optionally defined on the timeline items that will be appended as data- attributes to the DOM element of the items.
+ If value is 'all' then each field defined on the timeline item will become a data- attribute.