Merge pull request #10307 from liusy182/10240-theme-color-2

return null when theme color is transparent or not found
This commit is contained in:
Cheng Zhao 2017-09-11 18:40:35 +09:00 committed by GitHub
commit cc9771a3d0
4 changed files with 28 additions and 2 deletions

View file

@ -403,6 +403,11 @@ a meta tag:
<meta name='theme-color' content='#ff0000'>
```
Returns:
* `event` Event
* `color` (String | null) - Theme color is in format of '#rrggbb'. It is `null` when no theme color is set.
#### Event: 'update-target-url'
Returns: