How to use the pro-gallery/dist/src/constants.placements function in pro-gallery

To help you get started, we’ve selected a few pro-gallery examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wix / pro-gallery / packages / ssr-simulator / src / components / gallery / utils.js View on Github external
enableInfiniteScroll: true,
    thumbnailSpacings: 4,
    galleryThumbnailsAlignment: Consts.thumbnailsAlignment.bottom,
    enableScroll: true,
    hasThumbnails: false,
    isGrid: false,
    isSlider: false,
    isColumns: false,
    isMasonry: false,
    isSlideshow: false,
    isAutoSlideshow: false,
    slideshowLoop: false,
    autoSlideshowInterval: 4,
    useCustomButton: false,
    bottomInfoHeight: 0,
    titlePlacement: Consts.placements.SHOW_ON_HOVER,
    galleryHorizontalAlign: Consts.horizontalAlign.CENTER,
    galleryTextAlign: 'center',
    galleryVerticalAlign: Consts.verticalAlign.CENTER,
    scrollSnap: false,
    itemClick: Consts.itemClick.EXPAND,
    fullscreen: true,
    allowSocial: true,
    allowDownload: false,
    allowTitle: true,
    allowDescription: false,
    allowHover: true,
    loveButton: true,
    loveCounter: false,
    videoPlay: Consts.videoPlay.HOVER,
    scrollAnimation: Consts.scrollAnimations.NO_EFFECT,
    scrollDirection: 0,