10 lines
303 B
JavaScript
Executable file
10 lines
303 B
JavaScript
Executable file
import { m as menuController } from './index5.js';
|
|
|
|
// Given a menu, return whether or not the menu toggle should be visible
|
|
const updateVisibility = async (menu) => {
|
|
const menuEl = await menuController.get(menu);
|
|
return !!(menuEl && await menuEl.isActive());
|
|
};
|
|
|
|
export { updateVisibility as u };
|