InputHelper

class InputHelper

Description

Class representing an input helper - a window that appears and disappears when you type text. Its location is tied to the cursor.

Instance Methods

createWindow()

Creates an input helper window.

getItems(): InputHelperItem[]

Returns an array of the {@link global#InputHelperItem InputHelperItem} objects that contain all the items from the input helper.

setItems(items)

Sets the items to the input helper.

show(width, height, isCaptureKeyboard)

Shows an input helper.

unShow()

Hides an input helper.

getScrollSizes(): number

Returns the sizes of the input helper scrolled window.

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).