2013-08-07 08:59:08 +00:00
|
|
|
These are the available hook types. You can register functions to handle these
|
|
|
|
by calling lightboxHooks.register( 'typeOfHook', function () { ... } );
|
|
|
|
|
|
|
|
modifyInterface
|
|
|
|
Arguments: None
|
|
|
|
ThisArg: LightboxInterface
|
|
|
|
Called: From LightboxInterface constructor
|
|
|
|
|
|
|
|
modifyDefaultPreDiv
|
|
|
|
Arguments: None
|
|
|
|
ThisArg: LightboxInterface
|
|
|
|
Called: From LightboxInterface setupPreDiv method, if defaults are loaded
|
|
|
|
|
|
|
|
modifyDefaultPostDiv
|
|
|
|
Arguments: None
|
|
|
|
ThisArg: LightboxInterface
|
|
|
|
Called: From LightboxInterface setupPostDiv method, if defaults are loaded
|
|
|
|
|
|
|
|
addToPreDiv
|
|
|
|
Arguments:
|
|
|
|
* addToPre - Array - Add jQuery elements here to be added to the pre-image div
|
|
|
|
ThisArg: LightboxInterface
|
|
|
|
Called: From LightboxInterface constructor
|
|
|
|
|
|
|
|
addToPostDiv
|
|
|
|
Arguments:
|
|
|
|
* addToPost - Array - Add jQuery elements here to be added to the post-image div
|
|
|
|
ThisArg: LightboxInterface
|
|
|
|
Called: From LightboxInterface constructor
|
|
|
|
|
|
|
|
imageLoaded
|
|
|
|
Arguments: None
|
|
|
|
ThisArg: LightboxInterface
|
|
|
|
Called: From LightboxInterface-defined callback when image is done loading
|
|
|
|
|
|
|
|
modifyImageObject
|
|
|
|
Arguments: None
|
|
|
|
ThisArg: LightboxImage
|
|
|
|
Called: From LightboxImage constructor
|
|
|
|
|
|
|
|
modifyImageElement
|
|
|
|
Arguments: None
|
|
|
|
ThisArg: HTMLImageElement
|
|
|
|
Called: From LightboxImage getImageElement method
|
|
|
|
|
|
|
|
nextImage
|
|
|
|
Arguments: None
|
|
|
|
ThisArg: MultiLightbox
|
|
|
|
Called: From MultiLightbox next method
|
|
|
|
|
|
|
|
prevImage
|
|
|
|
Arguments: None
|
|
|
|
ThisArg: MultiLightbox
|
|
|
|
Called: From MultiLightbox prev method
|
|
|
|
|
|
|
|
noNextImage
|
|
|
|
Arguments: None
|
|
|
|
ThisArg: MultiLightbox
|
|
|
|
Called: From MultiLightbox next method when user tries to reach too-high index
|
|
|
|
|
|
|
|
noPrevImage
|
|
|
|
Arguments: None
|
|
|
|
ThisArg: MultiLightbox
|
|
|
|
Called: From MultiLightbox prev method when user tries to reach negative index
|
2013-10-18 21:51:33 +00:00
|
|
|
|
|
|
|
fullscreen
|
|
|
|
Arguments: None
|
|
|
|
ThisArg: LightboxInterface
|
|
|
|
Called: From LightboxInterface fullscreen method when user is going to fullscreen interface.
|
|
|
|
|
|
|
|
defullscreen
|
|
|
|
Arguments: None
|
|
|
|
ThisArg: LightboxInterface
|
|
|
|
Called: From LightboxInterface fullscreen method when user is leaving fullscreen interface.
|
2013-10-23 23:51:34 +00:00
|
|
|
|
|
|
|
clearInterface
|
|
|
|
Arguments: None
|
|
|
|
ThisArg: LightboxInterface
|
|
|
|
Called: From LightboxInterface empty method when the interface is being cleared.
|