Options
All
  • Public
  • Public/Protected
  • All
Menu

Functions

Functions

remindLeavePage

  • remindLeavePage(fn?: ReturnFunc<boolean>): (Anonymous function)

提醒用户当前页面有正在执行的操作,暂时不能离开 注:用户实际上可以不管该提醒

Parameters

  • fn: ReturnFunc<boolean> = () => false Default value

    谓词,是否要提醒不要关闭

Returns (Anonymous function)

返回删除这个事件监听的函数

  • 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.