Options
All
  • Public
  • Public/Protected
  • All
Menu

Variables

Functions

Variables

Const lastFocus

lastFocus: _lastFocus & object = Object.assign(_lastFocus, {init() {document.addEventListener('focus',event => {lastFocusEl = event.target},true,)document.addEventListener('blur',() => {lastFocusEl = null},true,)},})

Let lastFocusEl

lastFocusEl: Nullable<Element> | EventTarget

Functions

_lastFocus

  • _lastFocus(): Nullable<Element> | EventTarget

获取到最后一个获得焦点的元素

Returns Nullable<Element> | EventTarget

最后一个获取到焦点的元素

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.