Server IP : 150.95.80.236 / Your IP : 13.59.61.147 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/ |
Upload File : |
"use strict"; // Class definition var KTGeneralStepperDemos = function() { // Private functions var _exampleBasic = function() { // Stepper lement var element = document.querySelector("#kt_stepper_example_basic"); // Initialize Stepper var stepper = new KTStepper(element); // Handle next step stepper.on("kt.stepper.next", function (stepper) { stepper.goNext(); // go next step }); // Handle previous step stepper.on("kt.stepper.previous", function (stepper) { stepper.goPrevious(); // go previous step }); } var _exampleVertical = function() { // Stepper lement var element = document.querySelector("#kt_stepper_example_vertical"); // Initialize Stepper var stepper = new KTStepper(element); // Handle next step stepper.on("kt.stepper.next", function (stepper) { stepper.goNext(); // go next step }); // Handle previous step stepper.on("kt.stepper.previous", function (stepper) { stepper.goPrevious(); // go previous step }); } var _exampleClickable = function() { // Stepper lement var element = document.querySelector("#kt_stepper_example_clickable"); // Initialize Stepper var stepper = new KTStepper(element); // Handle navigation click stepper.on("kt.stepper.click", function (stepper) { stepper.goTo(stepper.getClickedStepIndex()); // go to clicked step }); } return { // Public Functions init: function() { _exampleBasic(); _exampleVertical(); _exampleClickable(); } }; }(); // On document ready KTUtil.onDOMContentLoaded(function() { KTGeneralStepperDemos.init(); });