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

package.dist.esm.utils.getOppositeVariationPlacement.js Maven / Gradle / Ivy

There is a newer version: 2.11.8
Show newest version
var hash = {
  start: 'end',
  end: 'start'
};
export default function getOppositeVariationPlacement(placement) {
  return placement.replace(/start|end/g, function (matched) {
    return hash[matched];
  });
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy