diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2017-09-27 12:42:48 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2017-09-27 12:42:48 -0400 |
| commit | 210e8feae2fb4842bfb2de38666e6c41671fef3c (patch) | |
| tree | cbdafa34b1a6260bb20236d7e9de9eb1b690a1c5 /www/lib/vis/examples/timeline/other/rtl.html | |
| parent | e7e7baeaad90229ccb3e0f45f4ebd77be7d79b14 (diff) | |
removed lib
Diffstat (limited to 'www/lib/vis/examples/timeline/other/rtl.html')
| -rw-r--r-- | www/lib/vis/examples/timeline/other/rtl.html | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/www/lib/vis/examples/timeline/other/rtl.html b/www/lib/vis/examples/timeline/other/rtl.html deleted file mode 100644 index f53b1802..00000000 --- a/www/lib/vis/examples/timeline/other/rtl.html +++ /dev/null @@ -1,50 +0,0 @@ -<!DOCTYPE HTML> -<html> -<head> - <title>Timeline | RTL example</title> - - <script src="../../../dist/vis.js"></script> - <link href="../../../dist/vis-timeline-graph2d.min.css" rel="stylesheet" type="text/css" /> - <script src="../../googleAnalytics.js"></script> -</head> -<body> - -<h1>Timeline RTL support</h1> - -<h2>Using <code>dir = "rtl"</code> in any parent node</h2> -<div id="timeline1" dir="rtl"></div> - -<h2>Using <code>options.rtl = true</code></h2> -<div id="timeline2"></div> - -<script> - - var items = new vis.DataSet(); - // add items to the DataSet - items.add([ - {id: 1, content: '2014-01-23 <br>start', start: '2014-01-23'}, - {id: 2, content: '2014-01-18', start: '2014-01-18'}, - {id: 3, content: '2014-01-21', start: '2014-01-21'}, - {id: 4, content: '2014-01-19 - 2014-01-24', start: '2014-01-19', end: '2014-01-24'}, - {id: 5, content: '2014-01-28', start: '2014-01-28', type:'point'}, - {id: 6, content: '2014-01-26', start: '2014-01-26'} - ]); - - var container1 = document.getElementById('timeline1'); - var container2 = document.getElementById('timeline2'); - - var options = { - start: '2014-01-10', - end: '2014-02-10', - height: '300px', - }; - - var options1 = Object.assign({}, options) - var timeline1 = new vis.Timeline(container1, items, options1); - - var options2 = Object.assign({rtl: true}, options) - var timeline2 = new vis.Timeline(container2, items, options2); - -</script> -</body> -</html>
\ No newline at end of file |
