"use strict";

Object.defineProperty(exports, "__esModule", {
    value: !0
}), exports.bindDropdownMenuEvent = void 0;

const TABLE_EVENT_TYPE_1 = require("../../../core/TABLE_EVENT_TYPE");

function bindDropdownMenuEvent(table) {
    table.on(TABLE_EVENT_TYPE_1.TABLE_EVENT_TYPE.DROPDOWN_MENU_CLICK, (() => {
        table.stateManager.hideMenu();
    })), table.on(TABLE_EVENT_TYPE_1.TABLE_EVENT_TYPE.SCROLL, (() => {
        table.stateManager.hideMenu();
    }));
}

exports.bindDropdownMenuEvent = bindDropdownMenuEvent;
//# sourceMappingURL=dropdown-menu.js.map
