You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
Hey all,
With the amount of useful Angular plugins and blog posts out there I am very surprised that there is no directive example for a custom scrollbar.
I've tried using https://github.com/jamesflorentino/nanoScrollerJS but a) it depends on jQuery, not sure if it'd work with jqLite only and b) it fails on a line that does element.content.style because content is undefined. Go figure.
Has anyone taken a stab at making a directive for a custom scrollbar?
Thanks
Georgios
Grant Rettke
unread,
Sep 24, 2013, 10:07:11 AM9/24/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
It is pretty common; NG is still cutting edge. The community often
adds more and more.
--
Grant Rettke | ACM, AMA, COG, IEEE
gre...@acm.org | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson
Georgios Diamantopoulos
unread,
Sep 26, 2013, 4:48:41 AM9/26/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
This wasn't a complaint, just surprised - and wondered if anyone has tackled it and wants to share their solution.
Georgios
> Date: Tue, 24 Sep 2013 09:07:11 -0500 > Subject: Re: [AngularJS] Lightweight scrollbar for NG > From: gre...@acm.org > To: ang...@googlegroups.com
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
That's awesome! We've gone with overflow: auto for now but whenever I get a chance to try this, I'll be sure to send some feedback here or on Git
I did have a quick look at the docs though and for us non-UI-wizards, it would help to give an example of when we should ask the scrollbar to update itself by broadcasting the event
It would also be nice to give the directive a controller which another directive can 'require' and update the scrollbar directly without messing with events.