All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.shared.effect-target.mjs Maven / Gradle / Ivy

Go to download

Most modern mobile touch slider and framework with hardware accelerated transitions

There is a newer version: 11.1.14
Show newest version
import { g as getSlideTransformEl } from './utils.mjs';

function effectTarget(effectParams, slideEl) {
  const transformEl = getSlideTransformEl(slideEl);
  if (transformEl !== slideEl) {
    transformEl.style.backfaceVisibility = 'hidden';
    transformEl.style['-webkit-backface-visibility'] = 'hidden';
  }
  return transformEl;
}

export { effectTarget as e };




© 2015 - 2024 Weber Informatics LLC | Privacy Policy