|
Server IP : 111.118.215.156 / Your IP : 216.73.216.167 Web Server : Apache System : Linux md-in-26.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : azasoqqa ( 1858) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/azasoqqa/public_html/vsrcbse.com/admin/javascript/components/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
/*! ========================================================================
* others.js
* Page/renders: components-others.html
* Plugins used: switchery
* ======================================================================== */
$(function () {
// Default checked
// ================================
(function () {
var elem = document.querySelector(".switchery");
var init = new Switchery(elem);
})();
// Multiple switches
// ================================
(function () {
var elems = Array.prototype.slice.call(document.querySelectorAll(".multiple-switchery"));
elems.forEach(function(html) {
var switchery = new Switchery(html);
});
})();
// Color variation
// ================================
(function () {
var elems = Array.prototype.slice.call(document.querySelectorAll(".switchery-colored"));
elems.forEach(function(html) {
var color = $(html).data("switchery-color");
var switchery = new Switchery(html, { color: color });
});
})();
});