find scroll end jquery
xxxxxxxxxx
var timer = 0
$(window).scroll(function() {
clearTimeout(timer)
var navbar = $(".navbar")
navbar.css("opacity", "0.4")
timer = setTimeout(() => {
navbar.css("opacity", "1")
}, timer);
})
ı cant tell how this is works. but it does.