'use strict';

class BaseComponent {
  // #region fields
  element;
  $element;
  options;
  // #endregion
  // #region constructor
  constructor(element, options = {}) {
    this.element = element;
    this.$element = $(element);
    this.options = options;
    Object.defineProperty(this.element, "__COMPONENT__", {
      get: () => this
    });
  }
  // #endregion
}

exports.BaseComponent = BaseComponent;
