onLoadingStateChange

open fun onLoadingStateChange(browser: CefBrowser, isLoading: Boolean, canGoBack: Boolean, canGoForward: Boolean)

Called when the loading state has changed. This callback will be executed twice -- once when loading is initiated either programmatically or by user action, and once when loading is terminated due to completion, cancellation of failure.

Parameters

browser

The corresponding browser.

isLoading

true if it is loading.

canGoBack

true if you can navigate back.

canGoForward

true if you can navigate forward.