Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FocusService

Access focus state

Hierarchy

  • FocusService

Index

Constructors

Properties

Accessors

Constructors

constructor

Properties

Private _hasFocus

_hasFocus: boolean = false

blurEvent

blurEvent: Event<void> = new Event<void>()

An event that is raised when this app has lost focus

focusEvent

focusEvent: Event<void> = new Event<void>()

An event that is raised when this app has gained focus

Accessors

hasFocus

  • get hasFocus(): boolean

Generated using TypeDoc