refactor: 'focus-change' does not need guestInstanceId (#29001)
* refactor: 'focus-change' does not need guestInstanceId * refactor: rename internal 'focus-change' event to '-focus-change'
This commit is contained in:
parent
476e908269
commit
2086e1903c
4 changed files with 12 additions and 23 deletions
|
@ -26,7 +26,7 @@ const dispatchEvent = function (
|
|||
|
||||
if (eventName === 'load-commit') {
|
||||
webView.onLoadCommit(props);
|
||||
} else if (eventName === 'focus-change') {
|
||||
} else if (eventName === '-focus-change') {
|
||||
webView.onFocusChange();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue