INNER CODE UNIT · JavaScript

toggleDeleteCtxMenu

ayushk7/CodeWire · javascript/ContextMenu/contextMenu.js:31

        function toggleDeleteCtxMenu(location, show) {
            if (show) {
                deleteCtxMenu.classList.toggle("hidden", false);
                deleteCtxMenu.style.left = location[0] + 'px';
                deleteCtxMenu.style.top = location[1] + 'px';

            }
            else {
                deleteCtxMenu.classList.toggle("hidden", true);
            }
        }
        function toggleGetSetCtxMenu(location, show) {
            if (show) {
                getSetCtxMenu.classList.toggle("hidden", false);
                getSetCtxMenu.style.left = location[0] + 'px';
                getSetCtxMenu.style.top = location[1] + 'px';
            }
            else {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…