Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/evt/lib/index.ts>dom.webkitRTCPeerConnection

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

Methods

addEventListener<K extends keyof RTCPeerConnectionEventMap>(
type: K,
listener: (this: webkitRTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof RTCPeerConnectionEventMap>(
type: K,
listener: (this: webkitRTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void