Module

x/evt/lib/index.ts

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

Properties

readonly
canInsertDTMF: boolean
readonly
duration: number
readonly
interToneGap: number
ontonechange: ((this: RTCDtmfSender, ev: RTCDTMFToneChangeEvent) => any) | null
readonly
sender: RTCRtpSender
readonly
toneBuffer: string

Methods

insertDTMF(
tones: string,
duration?: number,
interToneGap?: number,
): void
addEventListener<K extends keyof RTCDtmfSenderEventMap>(
type: K,
listener: (this: RTCDtmfSender, ev: RTCDtmfSenderEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof RTCDtmfSenderEventMap>(
type: K,
listener: (this: RTCDtmfSender, ev: RTCDtmfSenderEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void