import ImageGalleryComponent from 'rizzo-next/src/components/image_gallery/image_gallery.js'
ImageGalleryComponent
Extends:
src/core/bane~Component → ImageGalleryComponent
A component for creating an Image Gallery
Member Summary
Public Members | ||
public |
$images: * |
|
public get |
$pswp: jQuery: * Render the gallery viewer |
|
public |
events: * |
|
public |
template: * |
Method Summary
Public Methods | ||
public |
initialize(objectPattern: {"galleryImageSelector": *}) |
|
public |
Callback from photoswipe item change |
|
public |
Callback from photoswipe item change |
|
public |
onGalleryClick(event: Event): Object Callback from clicking on a gallery image |
|
public |
Callback from photoswipe gallery close |
|
public |
Callback from photoswipe gallery close |
|
public |
openPhotoSwipe(index: [type]): [type] Open the photo gallery |
Public Members
public $images: * source
public get $pswp: jQuery: * source
Render the gallery viewer
Return:
jQuery | Returns the gallery element |
public events: * source
public template: * source
Public Methods
public initialize(objectPattern: {"galleryImageSelector": *}) source
Params:
Name | Type | Attribute | Description |
objectPattern | {"galleryImageSelector": *} |
|
public onGalleryClick(event: Event): Object source
Callback from clicking on a gallery image
Params:
Name | Type | Attribute | Description |
event | Event | Event |
public openPhotoSwipe(index: [type]): [type] source
Open the photo gallery
Params:
Name | Type | Attribute | Description |
index | [type] | [description] |
Return:
[type] | [description] |