(event: Event)
| 1277 | |
| 1278 | onMount(() => { |
| 1279 | const handler = (event: Event) => { |
| 1280 | const detail = (event as CustomEvent<{ urls: string[] }>).detail |
| 1281 | const urls = detail?.urls ?? [] |
| 1282 | if (urls.length === 0) return |
| 1283 | handleDeepLinks(urls) |
| 1284 | } |
| 1285 | |
| 1286 | handleDeepLinks(drainPendingDeepLinks(window)) |
| 1287 | makeEventListener(window, deepLinkEvent, handler as EventListener) |