Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "geocortex/infrastructure/FocusUtils"

Index

Functions

focus

  • focus(domElement: HTMLElement): void
  • Sets the focus on the specified DOM element. The focus is used to determine which element is the first to receive keyboard-related events.

    Parameters

    • domElement: HTMLElement

    Returns void

focusOnFirstInput

  • focusOnFirstInput(view: ViewBase, map: Map): void
  • Sets the focus on the first input control in a view (e.g. a textbox, drop-down, checkbox)

    Parameters

    • view: ViewBase

      The target view.

    • map: Map

    Returns void

focusOnMap

  • focusOnMap(map: Map): void
  • Sets the focus on the map control (if available)

    Parameters

    • map: Map

      The map control to focus on.

    Returns void