JavaScript Bagaimana mengetahui akhir gulungan
if (myDiv.offsetHeight + myDiv.scrollTop >= myDiv.scrollHeight) {
// Do something
}
Lioruby
if (myDiv.offsetHeight + myDiv.scrollTop >= myDiv.scrollHeight) {
// Do something
}