Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MSInputMethodContext

Package version

Hierarchy

Index

Properties

EventTarget

EventTarget: { constructor: any; prototype: EventTarget }

Type declaration

  • constructor: function
    • Returns EventTarget

  • prototype: EventTarget

compositionEndOffset

compositionEndOffset: number

compositionStartOffset

compositionStartOffset: number

oncandidatewindowhide

oncandidatewindowhide: ((this: MSInputMethodContext, ev: Event) => any) | null

oncandidatewindowshow

oncandidatewindowshow: ((this: MSInputMethodContext, ev: Event) => any) | null

oncandidatewindowupdate

oncandidatewindowupdate: ((this: MSInputMethodContext, ev: Event) => any) | null

target

target: HTMLElement

Methods

addEventListener

dispatchEvent

  • dispatchEvent(event: Event): boolean
  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    Returns boolean

getCandidateWindowClientRect

  • Returns ClientRect

getCompositionAlternatives

  • getCompositionAlternatives(): string[]
  • Returns string[]

hasComposition

  • hasComposition(): boolean
  • Returns boolean

isCandidateWindowVisible

  • isCandidateWindowVisible(): boolean
  • Returns boolean

removeEventListener

Generated using TypeDoc