webview: adding page-title-set event
This commit is contained in:
parent
5ff9588b48
commit
87af6f9c80
7 changed files with 26 additions and 0 deletions
|
@ -15,6 +15,7 @@ WEB_VIEW_EVENTS =
|
|||
'close': []
|
||||
'crashed': []
|
||||
'destroyed': []
|
||||
'page-title-set': ['title', 'explicitSet']
|
||||
|
||||
dispatchEvent = (webView, event, args...) ->
|
||||
throw new Error("Unkown event #{event}") unless WEB_VIEW_EVENTS[event]?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue