Add update-target-url event

This commit is contained in:
Cheng Zhao 2016-06-07 15:56:19 +09:00
parent 1c504ec45d
commit 3c873736d7
6 changed files with 30 additions and 5 deletions

View file

@ -288,6 +288,15 @@ a meta tag:
<meta name='theme-color' content='#ff0000'>
```
### Event: 'update-target-url'
Returns:
* `event` Event
* `url` String
Emitted when mouse moves over a link or the keyboard moves the focus to a link.
### Event: 'cursor-changed'
Returns:

View file

@ -782,6 +782,14 @@ Emitted when a page's theme color changes. This is usually due to encountering a
<meta name='theme-color' content='#ff0000'>
```
### Event: 'update-target-url'
Returns:
* `url` String
Emitted when mouse moves over a link or the keyboard moves the focus to a link.
### Event: 'devtools-opened'
Emitted when DevTools is opened.