PHP Classes

File: assets/gallerytypes/viewerjs/src/js/defaults.js

Recommend this page to a friend!
  Classes of Goffy G   wgGallery   assets/gallerytypes/viewerjs/src/js/defaults.js   Download  
File: assets/gallerytypes/viewerjs/src/js/defaults.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: wgGallery
Image gallery module for XOOPS CMS
Author: By
Last change:
Date: 3 years ago
Size: 2,102 bytes
 

Contents

Class file image Download
export default { // Enable inline mode inline: false, // Show the button on the top-right of the viewer button: true, // Show the navbar navbar: true, // Show the title title: true, // Show the toolbar toolbar: true, // Show the tooltip with image ratio (percentage) when zoom in or zoom out tooltip: true, // Enable to move the image movable: true, // Enable to zoom the image zoomable: true, // Enable to rotate the image rotatable: true, // Enable to scale the image scalable: true, // Enable CSS3 Transition for some special elements transition: true, // Enable to request fullscreen when play fullscreen: true, // The amount of time to delay between automatically cycling an image when playing. interval: 5000, // Enable keyboard support keyboard: true, // Enable a modal backdrop, specify `static` for a backdrop which doesn't close the modal on click backdrop: true, // Indicate if show a loading spinner when load image or not. loading: true, // Indicate if enable loop viewing or not. loop: true, // Min width of the viewer in inline mode minWidth: 200, // Min height of the viewer in inline mode minHeight: 100, // Define the ratio when zoom the image by wheeling mouse zoomRatio: 0.1, // Define the min ratio of the image when zoom out minZoomRatio: 0.01, // Define the max ratio of the image when zoom in maxZoomRatio: 100, // Define the CSS `z-index` value of viewer in modal mode. zIndex: 2015, // Define the CSS `z-index` value of viewer in inline mode. zIndexInline: 0, // Define where to get the original image URL for viewing // Type: String (an image attribute) or Function (should return an image URL) url: 'src', // Define where to put the viewer in modal mode. // Type: String | Element container: 'body', // Filter the images for viewing. // Type: Function (return true if the image is viewable) filter: null, // Event shortcuts ready: null, show: null, shown: null, hide: null, hidden: null, view: null, viewed: null, };