Closed jagmal closed 9 years ago
I have found a way around by emitting an event on window resize inside my controller and watching the same event using "slimscrollListenTo" attr. Even there, I had a problem on angular 1.3 where I had to use "slimscroll-listen-to" as attr in the html using
Hope it helps others.
@jagmal thanks for your share. Currently the $attr.slimscrollListenTo is processed in our directive, but you pass the attribute value use 'slimscroll-listen-to', angular removes the dashs between the words, so in the directive $attr.slimscrolllistento is passed in.
Thanks for fixing this!
could you provide a working example on this matter?
I'm also looking for an example. Can anyone show how to add this attribute to the HTML (I suppose)? Thanks.
Slimscroll's height does not adjust on window resizing. Is there something that I am missing or is it not supported? If later, can it be fixed?