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

x/evt/lib/types/index.ts>dom.MSInputMethodContext

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

Properties

readonly
compositionEndOffset: number
readonly
compositionStartOffset: number
oncandidatewindowhide: ((this: MSInputMethodContext, ev: Event) => any) | null
oncandidatewindowshow: ((this: MSInputMethodContext, ev: Event) => any) | null
oncandidatewindowupdate: ((this: MSInputMethodContext, ev: Event) => any) | null
readonly
target: HTMLElement

Methods

getCandidateWindowClientRect(): ClientRect
getCompositionAlternatives(): string[]
hasComposition(): boolean
isCandidateWindowVisible(): boolean
addEventListener<K extends keyof MSInputMethodContextEventMap>(
type: K,
listener: (this: MSInputMethodContext, ev: MSInputMethodContextEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof MSInputMethodContextEventMap>(
type: K,
listener: (this: MSInputMethodContext, ev: MSInputMethodContextEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void