ng-scrollbars icon indicating copy to clipboard operation
ng-scrollbars copied to clipboard

Documentation usage error

Open teknotica opened this issue 7 years ago • 0 comments

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 👍

teknotica avatar Oct 23 '17 16:10 teknotica