eBook Maestro: Versatile EBook Compiler Software  

Events

EBooks created with eBook Maestro support special events. In order for these events to be processed, insert the description of functions into pages that will process this event.

Events for pages opened in the Left Panel

onOpenPage(URL)

This function is called on the page opened in the Left Panel each time a new page is opened in the Main Panel. URL - the string containing the path to the file of the page.

Events for pages opened in the Control Bar

onLeftPanelOpen()

This function is called on the page opened in the Control Bar after the Left Panel is shown.

onLeftPanelClose()

This function is called on the page opened in the Control Bar after the Left Panel is hidden.

onSearchOpen()

This function is called on the page opened in the Control Bar after the Search Bar is shown.

onSearchClose()

This function is called on the page opened in the Control Bar after the Search Bar is hidden.

onBackStateChange(StateEnabled)

This function is called on the page opened in the Control Bar once the status of the function for moving one page back is changed. StateEnabled - true if it the operation is available, false if otherwise.

onForwardStateChange(StateEnabled)

This function is called on the page opened in the Control Bar once the status of the function for moving one page forward is changed. StateEnabled - true if it the operation is available, false if otherwise.