// #region Imports
import { ControllerBase } from '../Controls/Controllers/Abstracts/ControllerBase';
/**
 * @public
 */
export class ViewPresenterController extends ControllerBase {
    // #region Fields
    _presenter;
    // #endregion
    // #region Ctor
    constructor(host, presenter) {
        super(host);
        this._presenter = presenter;
    }
    // #endregion
    // #region Properties
    get presenter() {
        return this._presenter;
    }
    // #endregion
    // #region Methods
    /**
     * @public
     * @override
     */
    hostConnected() {
        this._presenter.initialize?.();
    }
    /**
     * @public
     * @override
     */
    hostDisconnected() {
        this._presenter.dispose?.();
    }
}
//# sourceMappingURL=ViewPresenterController.js.map