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

x/ogone/src/ogone.dom.d.ts>MSInputMethodContext

Advanced Web Composition for Future
Latest
interface MSInputMethodContext
implements EventTarget
import { type MSInputMethodContext } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.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