Added documentation, restructured the files to fit better with electron's style and fixed a typo in keyboard_util's name.

This commit is contained in:
Heilig Benedek 2016-01-31 02:27:14 +01:00
parent 0c9174bc7c
commit 61e0219e91
12 changed files with 134 additions and 194 deletions

View file

@ -281,6 +281,24 @@ Emitted when a page's theme color changes. This is usually due to encountering a
<meta name='theme-color' content='#ff0000'>
```
### Event: 'cursor-changed'
Returns:
* `event` Event
* `type` String
Emitted when the cursor's type changes. The `type` parameter can be `pointer`,
`cross`, `hand`, `i-beam`, `wait`, `help`, `east-resize`, `north-resize`,
`north-east-resize`, `north-west-resize`, `south-resize`, `south-east-resize`,
`south-west-resize`, `west-resize`, `north-south-resize`, `east-west-resize`,
`north-east-south-west-resize`, `north-west-south-east-resize`, `column-resize`,
`row-resize`, `middle-panning`, `east-panning`, `north-panning`,
`north-east-panning`, `north-west-panning`, `south-panning`,
`south-east-panning`, `south-west-panning`, `west-panning`, `move`,
`vertical-text`, `cell`, `context-menu`, `alias`, `progress`, `nodrop`, `copy`,
`none`, `not-allowed`, `zoom-in`, `zoom-out`, `grab`, `grabbing`, `custom`.
## Instance Methods
The `webContents` object has the following instance methods: