angular-nanoscroller
angular-nanoscroller copied to clipboard
Token '=' is unexpected
Hi,
I am trying to pass the preventPageScrolling parameter doing
scrollable="{preventPageScrolling='true'}" and I am getting this error

What is the proper way of doing it?
Hi. You should transfere 'js object', scrollable="{preventPageScrolling:true}" With colon and without single quotes
@maxaon that's what I thought, but it doesn't seem to work. Although there are no errors, the page still scrolls (meaning the property preventPageScrolling wasn't set to true).
Interesting thing is that when doing scrollable="{preventPageScrolling='true'}" I get errors but it does work, the page is prevented from scrolling as expected.