webview: adding page-title-set event

This commit is contained in:
Robo 2015-04-05 14:50:42 +05:30
parent 5ff9588b48
commit 87af6f9c80
7 changed files with 26 additions and 0 deletions

View file

@ -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]?