Skip to content

Commit d199672

Browse files
authored
Update LoadHandler.OnLoadStart
This callback is executed for a number of different reasones, frame loading start is only one of them. In most cases you want to use OnLoadingStateChange.
1 parent 223ca82 commit d199672

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

api/LoadHandler.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ calls to OnLoadError and/or OnLoadEnd.
4545
| frame | [Frame](Frame.md) |
4646
| __Return__ | void |
4747

48-
Called when the browser begins loading a frame. The |frame| value will
48+
This callback is called for a number of different reasons, including when
49+
history.pushState or history.replaceState changes the reference fragment
50+
for the currently loaded page. In most cases you want to use
51+
OnLoadingStateChange. In newer CEF there is |transition_type| arg that
52+
provides information about the source of the navigation.
53+
54+
The |frame| value will
4955
never be empty -- call the IsMain() method to check if this frame is the
5056
main frame. Multiple frames may be loading at the same time. Sub-frames may
5157
start or continue loading after the main frame load has ended. This method

0 commit comments

Comments
 (0)