effect-target.mjs 366 B

123456789101112
  1. import { g as getSlideTransformEl } from './utils.mjs';
  2. function effectTarget(effectParams, slideEl) {
  3. const transformEl = getSlideTransformEl(slideEl);
  4. if (transformEl !== slideEl) {
  5. transformEl.style.backfaceVisibility = 'hidden';
  6. transformEl.style['-webkit-backface-visibility'] = 'hidden';
  7. }
  8. return transformEl;
  9. }
  10. export { effectTarget as e };