(predicate: (menu: MenuI) => boolean)
| 210 | }; |
| 211 | |
| 212 | const find = (predicate: (menu: MenuI) => boolean): HTMLIonMenuElement | undefined => { |
| 213 | const instance = menus.find(predicate); |
| 214 | if (instance !== undefined) { |
| 215 | return instance.el; |
| 216 | } |
| 217 | return undefined; |
| 218 | }; |
| 219 | |
| 220 | const waitUntilReady = () => { |
| 221 | return Promise.all( |
no outgoing calls
no test coverage detected