docs: Update docs for keyboard shortcuts (#29207)
* Update docs for keyboard shortcuts * Add a fiddle for web-apis * Apply suggestions from code review Co-authored-by: Erick Zhao <erick@hotmail.ca> * Cleanup a few formatting errors and missed copies * Add descriptions to index.html * Focus on renderer Co-authored-by: Erick Zhao <erick@hotmail.ca>
This commit is contained in:
parent
241cceb2c9
commit
77e7d828ee
10 changed files with 73 additions and 26 deletions
|
@ -1,7 +1,7 @@
|
|||
const { app, BrowserWindow } = require('electron')
|
||||
|
||||
app.whenReady().then(() => {
|
||||
const win = new BrowserWindow({ width: 800, height: 600, webPreferences: { nodeIntegration: true } })
|
||||
const win = new BrowserWindow({ width: 800, height: 600 })
|
||||
|
||||
win.loadFile('index.html')
|
||||
win.webContents.on('before-input-event', (event, input) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue