Javascript Events

Omeka S makes extensive use of jQuery, particularly on admin pages. Many user interactions require additional actions to respond to the changes on the page. For this, Omeka S uses the trigger() function so other parts of javascript code can follow up.

For example, when the sidebar is opened, a module might need to respond in some way, so opening the sidebar fires a sidebar-opened event:

    openSidebar : function(sidebar) {

A module's own javascript can then respond as it would to any normal DOM event.

All events Omeka S triggers is in the reference page