UNPKG

wix-style-react

Version:
35 lines (33 loc) 1.13 kB
"use strict"; exports.__esModule = true; exports.dataHooks = exports.dataAttributes = void 0; // component internal data-hooks var dataHooks = exports.dataHooks = { addItem: 'add-image', overlay: 'image-viewer-overlay', imagesContainer: 'images-container', update: 'update-image', loader: 'image-viewer-loader', image: 'image-viewer-current-image', previousImage: 'image-viewer-previous-image', updateTooltip: 'update-image-tooltip', downloadTooltip: 'download-image-tooltip', removeTooltip: 'remove-image-tooltip', moreTooltip: 'more-image-tooltip', errorTooltip: 'error-image-tooltip', remove: 'remove-image', download: 'download-image', more: 'more-image', actionsMenu: 'more-actions-menu' }; /** * We use data-attributes to write css-states to the DOM for tests. * We can't use StylableDOMUtil (the standard solution) since it's not behaving well. */ var dataAttributes = exports.dataAttributes = { imageLoaded: 'data-image-loaded', imageVisible: 'data-image-visible', containerVisible: 'data-container-visible', disabled: 'data-disabled' }; //# sourceMappingURL=constants.js.map