Closed s-a closed 9 years ago
I think afterDomUpdate
event would be helpfull to update the DOM regarding the underlying data model.
Hi, you are able to fork and extend plugin's sources as you wish. It's pretty simple and may be changed easily. Feature you've requested seems like 'individual need', as for me.
I'm glad that you were able to change the source code to fit your needs but sorry I will not accept your pull request at this moment. In the nearest future I will implement list of callbacks and events for most useful needs.
:+1: can you create an issue for that so that we can subscribe notifications?
@s-a here it is https://github.com/NeXTs/Clusterize.js/issues/48
Regarding to #45 I am setting a
selected
row flag onspace
key press in the underlying data model and a CSS class of active row DOM element, but I lose the DOM information after (I guess)insertToDOM
was fired.Because it is time critical to update the whole DOM after
space
press I could need to call.update()
without DOM manipulation to refresh selected rows state. I believe that make sense at a point whereblocks_in_cluster
was reached beforeinsertToDOM
acts DOM rendering.In short what I need could be
What do you think?