Skip to main content
Version: v7.0.0

AppManagerOptionsType


Import
import { AppManagerOptionsType } from "@hyper-fetch/core"

Preview

type AppManagerOptionsType = {
focusEvent?: (setFocused: (isFocused: boolean) => void) => void;
initiallyFocused?: boolean | () => boolean | Promise<boolean>;
initiallyOnline?: boolean | () => boolean | Promise<boolean>;
onlineEvent?: (setOnline: (isOnline: boolean) => void) => void;
}

Structure

AppManagerOptionsType
NameTypeDescription
initiallyFocused
boolean | () => boolean | Promise<boolean>
initiallyOnline
boolean | () => boolean | Promise<boolean>
focusEvent
(setFocused: (isFocused: boolean) => void) => void
onlineEvent
(setOnline: (isOnline: boolean) => void) => void
On this page