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

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

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

Properties

readonly
collapsed: boolean

Returns true if range is collapsed, and false otherwise.

readonly
endContainer: Node

Returns range's end node.

readonly
endOffset: number

Returns range's end offset.

readonly
startContainer: Node

Returns range's start node.

readonly
startOffset: number

Returns range's start offset.