class Base {
    constructor(elem, options) {
        this.targetEl = null;
        this.options = {};
        this.destroyed = false;
    }
    /**
     * @description Initialization instance.No parameters.
     * @param {fn_cb_init} [cb] - Call back after initialization.
     * @returns {*} Return the instance itself.
     */
    init(cb) { }
    /**
   * @callback fn_cb_init
   * @description Execute a function after initialization.
   * @returns null.
   */
    /**
     * @description Destroy instance and prohibit use.
     * @param {fn_cb_destroy} [cb] - Call back after destroy.
     * @returns {*} Return the instance itself
     */
    destroy(cb) { }
}
export default Base;
