Skip to content

Commit

Permalink
Update specs/UnhandledKeyPressed.md
Browse files Browse the repository at this point in the history
Co-authored-by: David Risney <[email protected]>
  • Loading branch information
zhuhaichao518 and david-risney authored Oct 25, 2023
1 parent 8a6f2f0 commit edc9e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/UnhandledKeyPressed.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ interface ICoreWebView2Controller : IUnknown {
/// `UnhandledKeyPressed` will be raised ONLY IF ALL of the following conditions are met:
/// 1. The key event has not been marked as handled in the 'AcceleratorKeyPressed' event.
/// 2. The key press is not consumed in the DOM. For example, a JavaScript handler for the document's keydown event calling `event.preventDefault()` would handle the key press and the `UnhandledKeyPressed` event will not be raised.
/// 3. The event is not recognized or taken over by standard browser shortcuts (like ctrl + F, ctrl + P, etc).
/// 3. The key press is not handled by browser accelerators like ctrl + F, ctrl + P, and so on.
HRESULT add_UnhandledKeyPressed(
[in] ICoreWebView2UnhandledKeyPressedEventHandler* eventHandler,
Expand Down

0 comments on commit edc9e4b

Please sign in to comment.