@huluvu424242/honey-slideshow
Version:
Text to Speech component wich is reading texts from DOM elements.
10 lines (7 loc) • 315 B
JavaScript
import { m as menuController } from './index-acd435ec.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 };