Skip to content
This repository was archived by the owner on Jul 29, 2019. It is now read-only.

Commit 8a8234d

Browse files
authored
Add performance tips to timeline docs (#3360)
1 parent 2678fd2 commit 8a8234d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/timeline/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2113,6 +2113,15 @@ <h3 id="Grid_Backgrounds">Grid Backgrounds</h3>
21132113
&lt;/style&gt;
21142114
</pre>
21152115

2116+
<h3 id="Performance_Tips">Performance Tips</h3>
2117+
<p>Defining a timeline with many items and/or groups might affect initial loading time and general performance.
2118+
Here are some tips to improve performance and avoid slow loading time:</p>
2119+
<ul>
2120+
<li>Define items and group with <code>DataSets</code></li>
2121+
<li>Avoid applying heavy CSS on items (such as <code>box-shadow</code>, gradient background colors, etc.)</li>
2122+
<li>Defining a <code>start</code> and an <code>end</code> in the timeline options.
2123+
This will improve initial loading time.</li>
2124+
</ul>
21162125
</div>
21172126

21182127
<!-- Bootstrap core JavaScript

0 commit comments

Comments
 (0)