MCPcopy Index your code
hub / github.com/su-kaka/gcli2api / initTabSlider

Function initTabSlider

front/common.js:945–950  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

943
944// 初始化滑块位置
945function initTabSlider() {
946 const activeTab = document.querySelector('.tab.active');
947 if (activeTab) {
948 updateTabSlider(activeTab, false);
949 }
950}
951
952// 页面加载和窗口大小变化时初始化滑块
953document.addEventListener('DOMContentLoaded', initTabSlider);

Callers 2

loginFunction · 0.85
autoLoginFunction · 0.85

Calls 1

updateTabSliderFunction · 0.85

Tested by

no test coverage detected