static parseSize(prop) {
    return Number(prop.replace(/[^\d\.]/g, ''));
  }
Gets the integer value of a style property.
@param {string} prop CSS property value.
@return {Number} The property without the units.