ng-scrollbars
ng-scrollbars copied to clipboard
Documentation usage error
Hi!
Just noticed whilst using this code myself, that the step 4.a of the Usage section in the README file, has an little typo, making a configuration object malformed.
Should be:
$scope.config = {
autoHideScrollbar: false,
theme: 'light',
setHeight: 200,
scrollInertia: 0
advanced:{
updateOnContentResize: true
}
}
instead of:
$scope.config = {
autoHideScrollbar: false,
theme: 'light',
advanced:{
updateOnContentResize: true
},
setHeight: 200,
scrollInertia: 0
} // <---- Not needed
}
which has an extra (not needed) curly end bracket 👍