plain-draggable-limit.esm.js
function moveTranslate(props, position) {
  var elementBBox = props.elementBBox;
  if (position.left !== elementBBox.left || position.top !== elementBBox.top) {
    var offset = props.htmlOffset;
    props.elementStyle[cssPropTransform] = 'translate(' + (position.left + offset.left) + 'px, ' + (position.top + offset.top) + 'px)';
    return true;
  }
  return false;
}
function moveTranslate(props, position) {
  var elementBBox = props.elementBBox;
  if (position.left !== elementBBox.left || position.top !== elementBBox.top) {
    var offset = props.htmlOffset;
    props.elementStyle[cssPropTransform] = 'translate(' + (position.left + offset.left) + 'px, ' + (position.top + offset.top) + 'px)';
    return true;
  }
  return false;
}
function moveTranslate ( props , position ) { var elementBBox = props . elementBBox ; if ( position . left !== elementBBox . left || position . top !== elementBBox . top ) { var offset = props . htmlOffset ; props . elementStyle [ cssPropTransform ] = 'translate(' + ( position . left + offset . left ) + 'px, ' + ( position . top + offset . top ) + 'px)' ; return true ; } return false ; }
Move by `translate`.
@param {props} props - `props` of instance.
@param {{left: number, top: number}} position - New position.
@returns {boolean} `true` if it was moved.
Move by translate .