@umbraco-cms/backoffice
    Preparing search index...

    Function attachCallback

    • Attaches a global router event after the native function on the object has been invoked. Stores the original function at the _name.

      Parameters

      • obj: any

        The object to patch.

      • functionName: string

        The name of the function to patch.

      • eventName: GlobalRouterEvent

        The event to dispatch after the function is invoked.

      Returns void