public static final class BeforeUnloadCallback.Action extends AsyncCallbackAction<Response>
BeforeFormRepostCallback.| Constructor and Description |
|---|
Action(java.util.function.Consumer<Response> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
leave()
Notifies the browser that the user decided to leave the current page.
|
void |
stay()
Notifies the browser that the user decided to stay on the current page.
|
isClosed