Module: alfresco/services/LightboxService

alfresco/services/LightboxService

Author:
  • Kevin Roast
License:
Source:

Members

cssRequirements :object[]

An array of the CSS files to use with this widget.
Type:
  • object[]
Default Value:
  • [{cssFile:"./css/LightboxService.css"}]
Source:

nonAmdDependencies :String[]

Declare the dependencies on "legacy" JS files that this is wrapping.
Type:
  • String[]
Source:

Methods

initService()

If a service needs to act upon its post-mixed-in state before registering subscriptions then this is where it should be done. It is comparable to postMixInProperties in a widget in the class lifecycle.
Source:

onDisplayLightbox(payload)

Displays a lightbox for given image
Parameters:
Name Type Description
payload object The details of the image.
Source:

registerSubscriptions()

Sets up the subscriptions for the LightboxService
Since:
  • 1.0.32
Source: