Skip to main content
Module

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

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

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