📜  电子滚动条 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:46.437000             🧑  作者: Mango

代码示例1
// 1. Download overlayScrollbars from: https://kingsora.github.io/OverlayScrollbars/
// 2. Link overlayScrollbars in html document: 

$(function() {
    //The passed argument has to be at least a empty object or a object with your desired options
      // Choose all the targets you want the scrollbar to apear
    $("#target, .target").overlayScrollbars({
    className: "os-theme-dark",
  });
});