electron app scrollbar code example

Example: electron scrollbar

// 1. Download overlayScrollbars from: https://kingsora.github.io/OverlayScrollbars/
// 2. Link overlayScrollbars in html document: <script src="../assets/js/jquery.overlayScrollbars.min.js"></script>

$(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",
  });
});