Ok this is what I did to get the task done. 1) Open the file scripts/ui/views/tile-views.js 2) called my custom function inside Exhibit.TileView.prototype._reconstruct function
Hopefully this will come handy to someone else. On Jun 24, 2:48 pm, Dee <deewendra.shres...@gmail.com> wrote: > Hi there, > First of all I would like to thank all the developers and contributors > of exibit/simile applications, which are set of very powerful tools, > lots of kudos. > Now to my problem, I have been trying to find a way to call a custom > function(which basically renders a map in a div for each record in the > view) every time the viewPanel is updated in an exhibit application. I > could call this function when a particular item in facet was selected/ > un-selected by inserting the "custom" function call into > "Exhibit.ListFacet.prototype.applyRestrictions" function(which resides > in script/ui/facets/list-facet.js ) but I have no idea to how to > integrate my function when the view is updated by other means such as > when user clicks reset all filter, or does a sorting etc. > Also is there a way to figure out which functions are getting called > when an event is triggered in exhibit app? The only way I know to > attach event in js in using the on* functions, and it seems like > exhibit dynamically attaches event to its elements - if only someone > could direct me where to look at, even that would be much appreciated. > > Regards, > Dee -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.