Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.Position

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.Position
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { Position } = dom;

The position of the concerned device at a given time. The position, represented by a Coordinates object, comprehends the 2D position of the device, on a spheroid representing the Earth, but also its altitude and its speed.

Properties

readonly
coords: Coordinates
readonly
timestamp: number