UNPKG

test-isc

Version:

An Ionic component similar to Ionic Select, that allows to search items, including async search, group, add, edit, delete items, and much more.

12 lines (8 loc) 338 B
'use strict'; const index$3 = require('./index-1ceca8b8.js'); // Given a menu, return whether or not the menu toggle should be visible const updateVisibility = async (menu) => { const menuEl = await index$3.menuController.get(menu); return !!(menuEl && await menuEl.isActive()); }; exports.updateVisibility = updateVisibility;