projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f13bd65
)
Update changes to ko-KR/api/power-monitor.md
author
arus
<tinydew4@gmail.com>
Sun, 25 Sep 2016 14:48:09 +0000
(23:48 +0900)
committer
arus
<tinydew4@gmail.com>
Sun, 25 Sep 2016 14:48:09 +0000
(23:48 +0900)
docs-translations/ko-KR/api/power-monitor.md
patch
|
blob
|
history
diff --git
a/docs-translations/ko-KR/api/power-monitor.md
b/docs-translations/ko-KR/api/power-monitor.md
index
860ac5e
..
2858a14
100644
(file)
--- a/
docs-translations/ko-KR/api/power-monitor.md
+++ b/
docs-translations/ko-KR/api/power-monitor.md
@@
-1,4
+1,4
@@
-
# powerMonitor
+# powerMonitor
> 파워의 상태 변경을 모니터링합니다.
@@
-8,10
+8,11
@@
예시:
```javascript
-const {app} = require('electron');
+const electron = require('electron');
+const {app} = electron;
app.on('ready', () => {
-
require('electron')
.powerMonitor.on('suspend', () => {
+
electron
.powerMonitor.on('suspend', () => {
console.log('절전모드로 진입합니다!');
});
});
@@
-19,7
+20,7
@@
app.on('ready', () => {
## Events
-`power
-m
onitor` 모듈은 다음과 같은 이벤트를 가지고 있습니다:
+`power
M
onitor` 모듈은 다음과 같은 이벤트를 가지고 있습니다:
## Event: `suspend`