How to use the pro-gallery/dist/src/constants.calculationOptions 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
magicLayoutSeed: 1,
    //itemOpacity:'color-5', startWithOpacity: 0.60,
    //itemIconColorSlideshow: 'color-5'
    // itemIconColor: color-1
    // arrowsColor: 'color-1'
    imageHoverAnimation: Consts.imageHoverAnimations.NO_EFFECT,
    // itemFont: 'font_5'  // startWithSize: 22,
    // itemFontColor: 'color-1'
    // itemFontSlideshow:'font_5' // startWithSize: 22,
    // itemFontColorSlideshow: 'color-5'
    // itemDescriptionFont: 'font_8' // startWithSize: 15
    // itemDescriptionFontColor: 'color-1'
    // itemDescriptionFontSlideshow: 'font_8' // startWithSize: 15
    // itemDescriptionFontColorSlideshow: 'color-5'
    // textBoxFillColor: 'color-2', //startWithOpacity: 1,
    calculateTextBoxHeightMode: Consts.calculationOptions.AUTOMATIC,
    textBoxHeight: 200,
    textImageSpace: 10,
    textBoxBorderRadius: 0,
    textBoxBorderWidth: 0,
    // textBoxBorderColor: color-5,
    textsVerticalPadding: 0,
    textsHorizontalPadding: 0,
    titleDescriptionSpace: 6,
    customButtonText: '',
    // customButtonFontForHover: 'font_8', startWithSize: 15
    // customButtonFontColorForHover: color-5
    // customButtonFont: 'font_8', startWithSize: 15
    // customButtonFontColor: color-1'
    // customButtonColor: startWithOpacity: '0', startWithColor: 'color-1'
    customButtonBorderWidth: 1,
    // customButtonBorderColor: startWithColor: 'color-1'