constructor(element, options, actions) {
    this.options = this._initializeOption(options);
    this._actions = actions;
    this.submenu = false;
    this.imageSize = {};
    this.uiSize = {};
    this._locale = new Locale(this.options.locale);
    this.theme = new Theme(this.options.theme);
    this.eventHandler = {};
    this._submenuChangeTransection = false;
    this._selectedElement = null;
    this._mainElement = null;
    this._editorElementWrap = null;
    this._editorElement = null;
    this._menuBarElement = null;
    this._subMenuElement = null;
    this._makeUiElement(element);
    this._setUiSize();
    this._initMenuEvent = false;

    this._makeSubMenu();

    this._attachHistoryEvent();
    this._attachZoomEvent();
  }
Ui class
@class
@param {string|HTMLElement} element - Wrapper's element or selector
@param {Object} [options] - Ui setting options
  @param {number} options.loadImage - Init default load image
  @param {number} options.initMenu - Init start menu
  @param {Boolean} [options.menuBarPosition=bottom] - Let
  @param {Boolean} [options.applyCropSelectionStyle=false] - Let
  @param {Boolean} [options.usageStatistics=false] - Use statistics or not
  @param {Object} [options.uiSize] - ui size of editor
    @param {string} options.uiSize.width - width of ui
    @param {string} options.uiSize.height - height of ui
@param {Object} actions - ui action instance