Skip to main content

sdk.appstateapi.getcoords

Home > @kittl/sdk > AppStateAPI > getCoords

AppStateAPI.getCoords() method

Gets the viewport corner coordinates.

Signature:

getCoords(): Viewport['coords'];

Returns:

Viewport['coords']

The coordinates object with tl, tr, bl, br corners