"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.extractRefHTMLElement = extractRefHTMLElement;
function extractRefHTMLElement(ref) {
  if (ref.value) {
    if (ref.value instanceof HTMLElement) {
      return ref.value;
    }
    return ref.value.$el;
  }
  return null;
}