public static interface BeforeUnloadCallback.Params
BeforeUnloadCallback
.Modifier and Type | Method and Description |
---|---|
default boolean |
isReload()
Returns
true if the web page is going to be reloaded, false when a new
navigation is started. |
default java.lang.String |
leaveActionText()
Returns a string that represents the localized text of the "Leave" action.
|
default java.lang.String |
message()
Returns a string that represents the localized text of the before unload warning.
|
default java.lang.String |
stayActionText()
Returns a string that represents the localized text of the "Stay" action.
|
default java.lang.String |
title()
Returns a string that represents the localized dialog title.
|
default java.lang.String title()
default java.lang.String message()
default java.lang.String stayActionText()
default java.lang.String leaveActionText()
default boolean isReload()
true
if the web page is going to be reloaded, false
when a new
navigation is started.