powerMonitor - Event: shutdown

概述

在系统即将重启或关机时触发。若事件处理器调用 e.preventDefault(),Electron 将尝试延迟系统关机以便应用正常退出。

基本信息

属性
模块 powerMonitor
类型 Event
鸿蒙支持 不支持