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 |
onGalleryClick(e: Event): Boolean Callback from clicking on a gallery image |
|
| 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(e: Event): Boolean source
Callback from clicking on a gallery image
Params:
| Name | Type | Attribute | Description |
| e | Event | Event |
public openPhotoSwipe(index: [type]): [type] source
Open the photo gallery
Params:
| Name | Type | Attribute | Description |
| index | [type] | [description] |
Return:
| [type] | [description] |