updateViewport

The client updates the LynxView view size.

Syntax

Harmony

public updateViewport(width: number, widthMode: number, height: number, heightMode: number): void;

Parameters

  • width: Current LynxView width.
  • widthMode: The measure mode for width. 0: Indefinite, 1: Definite, 2: AtMost.
  • height: Current LynxView height.
  • heightMode: The measure mode for height. 0: Indefinite, 1: Definite, 2: AtMost.

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.