get positionStyles() {
    /* Avoid setting coordinates if the modal is unmovable. */
    if(this.props.isMovable !== true) { return {}; }
    if(this.props.position === null || typeof this.props.position !== 'object') {
      return {};
    }

    return { 
      top: `${this.props.position.y}px`, 
      left: `${this.props.position.x}px` 
    };
  }
/**
   * Get modal absolute position coordinates style object.
   * @returns {Object} Style object with top & left properties.
   */
Get modal absolute position coordinates style object.
@returns {Object} Style object with top & left properties.
Get modal absolute position coordinates style object . @returns { Object } Style object with top & left properties .
get positionStyles() {
    if(this.props.isMovable !== true) { return {}; }
    if(this.props.position === null || typeof this.props.position !== 'object') {
      return {};
    }
    return { 
      top: `${this.props.position.y}px`, 
      left: `${this.props.position.x}px` 
    };
  }
get positionStyles ( ) { if ( this . props . isMovable !== true ) { return { } ; } if ( this . props . position === null || typeof this . props . position !== 'object' ) { return { } ; } return { top : ` ${ this . props . position . y } ` , left : ` ${ this . props . position . x } ` } ; }
Get modal absolute position coordinates style object.
Get modal absolute position coordinates style object .
/* Avoid setting coordinates if the modal is unmovable. */