@nextcloud/event-bus
    Preparing search index...

    Function broadcast

    • Emit an event on the event bus of the other tabs of this Nextcloud instance. Like BroadcastChannel, the current tab does not receive it: also call emit() if it should. On public pages nothing is sent.

      The payload is copied with the structured clone algorithm: other tabs receive plain data, class instances lose their prototype.

      Type Parameters

      • K extends string

      Parameters

      Returns void