Parameters
- __namedParameters: IParams
Returns {
block: (() => void);
handleLoadEnd: ((isOk: boolean) => void);
handleLoadStart: (() => void);
loading: boolean;
unblock: (() => void);
}
Object containing methods and state for preventing navigation and handling loading state.
Readonly
block: (() => void)
Readonly
handleLoadEnd: ((isOk: boolean) => void)
Readonly
handleLoadStart: (() => void)
Readonly
loading: boolean
Readonly
unblock: (() => void)
Prevents navigation, displays confirmation prompt if specified, and handles loading state changes.