mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-05 20:58:27 +02:00
Add "detectBrowserRouterReady" patch
This commit is contained in:
@@ -53,6 +53,8 @@ export namespace BxEvent {
|
||||
|
||||
export const XCLOUD_RENDERING_COMPONENT = 'bx-xcloud-rendering-page';
|
||||
|
||||
export const XCLOUD_ROUTER_HISTORY_READY = 'bx-xcloud-router-history-ready';
|
||||
|
||||
export function dispatch(target: Element | Window | null, eventName: string, data?: any) {
|
||||
if (!target) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user