本页还没有译文
本页 15 段还没译成한국어,下面显示的是英文原文。useBeforeUnload
还没翻译译自英文(reactrouter.com)本页 15 段都还没译
useBeforeUnload
Framework Data Declarative
Summary
Set up a callback to be fired on Window's beforeunload event.
Signature
function useBeforeUnload(
callback: (event: BeforeUnloadEvent) => any,
options?: {
capture?: boolean;
},
): voidParams
callback
The callback to be called when the beforeunload event is fired.
options.capture
If true, the event will be captured during the capture phase. Defaults to false.
Returns
No return value.
AI 翻译查看英文原文