onPageStart

Called when page start loading.

Syntax

Android

public void onPageStart(@Nullable String url);

Parameters

  • url: The page URL

iOS

- (void)lynxViewDidStartLoading:(LynxView *)view;

Parameters

  • view: The LynxView instance.
NOTE
  • This method is called once for each content loading request.

Harmony

public onPageStarted(lynxContext: LynxContext, pipelineInfo: LynxPipelineInfo): void;

Parameters

  • lynxContext: The LynxContext which has started loading
  • pipelineInfo: The information about the pixel pipeline
NOTE
  • This method will be executed before the main process of lynx so do not execute overlycomplex logic in this method.

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.