return null when theme color is not found

This commit is contained in:
Siyuan Liu 2017-08-20 22:48:13 +08:00
parent 4bc4a0c45b
commit eeb2e58ad8
4 changed files with 29 additions and 2 deletions

View file

@ -403,6 +403,12 @@ a meta tag:
<meta name='theme-color' content='#ff0000'>
```
Returns:
* `event` Event
* `color` string
* Theme color in format '#rrggbb'. `null` when theme color is not found.
#### Event: 'update-target-url'
Returns: