Module

x/evt/lib/index.ts

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.BhxBrowser
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
const { BhxBrowser } = dom;

Properties

readonly
lastError: DOMException

Methods

checkMatchesGlobExpression(pattern: string, value: string): boolean
checkMatchesUriExpression(pattern: string, value: string): boolean
clearLastError(): void
currentWindowId(): number
fireExtensionApiTelemetry(
functionName: string,
isSucceeded: boolean,
isSupported: boolean,
errorString: string,
): void
genericFunction(
functionId: number,
destination: any,
parameters?: string,
callbackId?: number,
): void
genericSynchronousFunction(functionId: number, parameters?: string): string
getExtensionId(): string
getThisAddress(): any
registerGenericFunctionCallbackHandler(callbackHandler: Function): void
registerGenericListenerHandler(eventHandler: Function): void
setLastError(parameters: string): void
webPlatformGenericFunction(
destination: any,
parameters?: string,
callbackId?: number,
): void