Skip to content

Instantly share code, notes, and snippets.

@bilalucar
Created January 27, 2017 07:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bilalucar/abe3a4c945a0bac53171080e8dcd6572 to your computer and use it in GitHub Desktop.
Save bilalucar/abe3a4c945a0bac53171080e8dcd6572 to your computer and use it in GitHub Desktop.
Available options to customize the reading/scroll position indicator
// arkaplan rengi
backColor : '#ecf0f1',
// 'Yatay' veya 'dikey' göstergesi
direction : 'horizontal',
// Göstergenin ön rengi
frontColor : '#2ecc71',
// 0-1
opacity : 1,
// üstte görünmesi için top, altta görünmesi için bottom
// solda görünmesi için left, sağda görünmesi için right
position : 'top',
// Göstergeyi tersine çevir
reverse : false,
// Gösterge boyutu
weight : 5,
// z-index
zindex : 10,
// Kaydırma işleminin bitiminde geri arama fonksiyonu çağrısı
scrollEnd : function() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment