updateViewport
The client updates the LynxView view size.
Syntax
Android
Parameters
widthMeasureSpec: CurrentLynxViewwidth.heightMeasureSpec: CurrentLynxViewheight.
iOS
Parameters
preferredLayoutWidth: CurrentLynxViewwidth.preferredLayoutHeight: CurrentLynxViewheight.needLayout: Whether layout needs to be triggered.
Desktop (C++)
Desktop public API uses SetFrame(...) for the view rectangle, and exposes UpdateScreenMetrics(...) separately for screen metrics.
Parameters
x: The x coordinate of theLynxView.y: The y coordinate of theLynxView.width: CurrentLynxViewwidth.height: CurrentLynxViewheight.
Compatibility
LCD tables only load in the browser