Skip to main content
Version: 5.x.x

getAppManagerEvents


import { getAppManagerEvents } from "@hyper-fetch/core"

Description

Defined in managers/app/app.manager.events.ts:5

Preview

getAppManagerEvents(emitter)

Parameters

NameDetails

emitter

Required

EventEmitter

Returns

{
emitBlur: () => void;
emitFocus: () => void;
emitOffline: () => void;
emitOnline: () => void;
onBlur: (callback: () => void) => VoidFunction;
onFocus: (callback: () => void) => VoidFunction;
onOffline: (callback: () => void) => VoidFunction;
onOnline: (callback: () => void) => VoidFunction;
}