NG1NDEX
Server IP : 150.95.80.236  /  Your IP : 3.129.42.244
Web Server : Apache
System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : social-telecare ( 10000)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/pcu.in.th/sc.pcu.in.th/demo15/src/js/custom/documentation/general/vis-timeline/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/vhosts/pcu.in.th/sc.pcu.in.th/demo15/src/js/custom/documentation/general/vis-timeline/basic.js
"use strict";

// Class definition
var KTVisTimelineBasic = function () {
    // Private functions
    var exampleBasic = function () {
        // DOM element where the Timeline will be attached
        var container = document.getElementById("kt_docs_vistimeline_basic");

        // Create a DataSet (allows two way data-binding)
        var items = new vis.DataSet([
            { id: 1, content: "item 1", start: "2021-04-20" },
            { id: 2, content: "item 2", start: "2021-04-14" },
            { id: 3, content: "item 3", start: "2021-04-18" },
            { id: 4, content: "item 4", start: "2021-04-16", end: "2021-04-19" },
            { id: 5, content: "item 5", start: "2021-04-25" },
            { id: 6, content: "item 6", start: "2021-04-27", type: "point" },
        ]);

        // Configuration for the Timeline
        var options = {};

        // Create a Timeline
        var timeline = new vis.Timeline(container, items, options);
    }

    return {
        // Public Functions
        init: function () {
            exampleBasic();
        }
    };
}();

// On document ready
KTUtil.onDOMContentLoaded(function () {
    KTVisTimelineBasic.init();
});

Anon7 - 2022
AnonSec Team