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

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

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

Properties

readonly
data: string
readonly
DOM_INPUT_METHOD_DROP: number
readonly
DOM_INPUT_METHOD_HANDWRITING: number
readonly
DOM_INPUT_METHOD_IME: number
readonly
DOM_INPUT_METHOD_KEYBOARD: number
readonly
DOM_INPUT_METHOD_MULTIMODAL: number
readonly
DOM_INPUT_METHOD_OPTION: number
readonly
DOM_INPUT_METHOD_PASTE: number
readonly
DOM_INPUT_METHOD_SCRIPT: number
readonly
DOM_INPUT_METHOD_UNKNOWN: number
readonly
DOM_INPUT_METHOD_VOICE: number

Methods

initTextEvent(
typeArg: string,
canBubbleArg: boolean,
cancelableArg: boolean,
viewArg: Window,
dataArg: string,
inputMethod: number,
locale: string,
): void