import { getSlideTransformEl } from './utils.js';
export default function effectTarget(effectParams, slideEl) {
  const transformEl = getSlideTransformEl(slideEl);

  if (transformEl !== slideEl) {
    transformEl.style.backfaceVisibility = 'hidden';
    transformEl.style['-webkit-backface-visibility'] = 'hidden';
  }

  return transformEl;
}