PMA.UI Documentation by Pathomation

SyncView

SyncView

Automatically handles syncronization of views between slides

Constructor

new SyncView(slideLoaders)

Source:
Parameters:
Name Type Description
slideLoaders Array.<SlideLoader> Array of PMA.UI.Components.SlideLoaders.

Classes

SyncView

Methods

disableSync()

Source:
Disables synchronization on the slides
Fires:
  • PMA.UI.Components.Events#event:SyncChanged

enableSync()

Source:
Enables synchronization on the slides
Fires:
  • PMA.UI.Components.Events#event:SyncChanged

getStatus()

Source:
Returns a value indicating whether slides are synchronized
Fires:
  • PMA.UI.Components.Events#event:SyncChanged

listen(eventName, callback)

Source:
Attaches an event listener
Parameters:
Name Type Description
eventName PMA.UI.Components.Events The name of the event to listen to
callback function The function to call when the event occurs