priority-nav-scroller
priority-nav-scroller copied to clipboard
Force update of nav scroller, after dynamically changing number of items?
Hi!
I am trying to combine this React and I want to populate the items of the nav-scroller dynamically.
I call PriorityNavScroller();
at the very beginning, and then I change the number of items, but the buttons (left and right) don't appear until I resize the window.
How can I tell the priority nav scroller to update itself, after I have changed the number of items?
Kind regards, Murat
There is currently no update method but adding one should be trivial. I will look into this once I have some time to spare.