angular-nanoscroller icon indicating copy to clipboard operation
angular-nanoscroller copied to clipboard

Token '=' is unexpected

Open lucas-garcia opened this issue 11 years ago • 2 comments

Hi,

I am trying to pass the preventPageScrolling parameter doing scrollable="{preventPageScrolling='true'}" and I am getting this error

captura de tela 2015-02-10 as 12 48 33

What is the proper way of doing it?

lucas-garcia avatar Feb 10 '15 14:02 lucas-garcia

Hi. You should transfere 'js object', scrollable="{preventPageScrolling:true}" With colon and without single quotes

maxaon avatar Feb 10 '15 15:02 maxaon

@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.

lucas-garcia avatar Feb 10 '15 16:02 lucas-garcia