Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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",
  });
});
 
PREVIOUS NEXT
Tagged: #electron #scrollbar
ADD COMMENT
Topic
Name
3+6 =