determineOffsetFromElement () {
    
        const halfWindowHeight = window.innerHeight / 2
        const halfWindowWidth = window.innerWidth / 2
    
        const horizontalClass = this.element_rect.left > halfWindowWidth ? 'TooltipRight' : 'TooltipLeft'
        const verticalClass = this.element_rect.top > halfWindowHeight ? 'TooltipAbove' : 'TooltipBelow'
        return {horizontal: horizontalClass, vertical : verticalClass}
    }
/**
     * Determine if this tooltip should go on the right or left side, on the top or bottom of the element
     * @returns {{horizontal: string, vertical: string}}
     */
Determine if this tooltip should go on the right or left side, on the top or bottom of the element
@returns {{horizontal: string, vertical: string}}
Determine if this tooltip should go on the right or left side on the top or bottom of the element @returns {{ horizontal : string vertical : string }}
determineOffsetFromElement () {
        const halfWindowHeight = window.innerHeight / 2
        const halfWindowWidth = window.innerWidth / 2
        const horizontalClass = this.element_rect.left > halfWindowWidth ? 'TooltipRight' : 'TooltipLeft'
        const verticalClass = this.element_rect.top > halfWindowHeight ? 'TooltipAbove' : 'TooltipBelow'
        return {horizontal: horizontalClass, vertical : verticalClass}
    }
determineOffsetFromElement ( ) { const halfWindowHeight = window . innerHeight / 2 const halfWindowWidth = window . innerWidth / 2 const horizontalClass = this . element_rect . left > halfWindowWidth ? 'TooltipRight' : 'TooltipLeft' const verticalClass = this . element_rect . top > halfWindowHeight ? 'TooltipAbove' : 'TooltipBelow' return { horizontal : horizontalClass , vertical : verticalClass } }
Determine if this tooltip should go on the right or left side, on the top or bottom of the element
 @returns {{horizontal: string, vertical: string}}
Determine if this tooltip should go on the right or left side on the top or bottom of the element @returns {{ horizontal : string vertical : string }}