Skip to main content
Module

x/evt/lib/types/lib.dom.ts>XPathExpression

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

This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information its DOM tree.

Methods

evaluate(
contextNode: Node,
type?: number,
result?: XPathResult | null,
): XPathResult