'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-22fd9091.js');

const CorejamDevLiveview = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
  }
  componentWillLoad() {
    const urlParams = new URLSearchParams(window.location.search);
    const markup = JSON.parse(urlParams.get("data")).content;
    this.markup = markup;
  }
  render() {
    return index.h(index.Host, { innerHTML: this.markup });
  }
  get component() { return index.getElement(this); }
};

exports.corejam_dev_liveview = CorejamDevLiveview;
