2015-08-10 19:33 GMT+02:00 ouyajam <[email protected]>:
> I need to do some customization with the page and need the
> exhibit.getDefaultCollection()
>
> to work. In previous 2.x version I can get the exhibit with no problem. But
> now I cannot. I tried window.setTimeout function to execute my script after
> 2s and it worked so obviously initially the scripts are still loading.

Here [1]  you have the events API .

window.exhibit.getDefaultCollection()  should work with exhibit 3.


[1] https://github.com/simile-widgets/exhibit/wiki/Scripted-Event-API


-- luis miguel

> Therefore I want to ask if there is any function like Exhibit.onLoad or
> Scripts.onLoad that I can use to wrap my functions? Thank you and forgive my
> poor English.
>
> --
> You received this message because you are subscribed to the Google Groups
> "SIMILE Widgets" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/simile-widgets.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.

Reply via email to