@huluvu424242/honey-slideshow
Version:
Text to Speech component wich is reading texts from DOM elements.
12 lines (8 loc) • 338 B
JavaScript
;
const index$1 = require('./index-16bb8156.js');
// Given a menu, return whether or not the menu toggle should be visible
const updateVisibility = async (menu) => {
const menuEl = await index$1.menuController.get(menu);
return !!(menuEl && await menuEl.isActive());
};
exports.updateVisibility = updateVisibility;