docs: add custom titlebar example (#43693)

* docs: add custom titlebar example

* docs: add links and other small edits

* docs: add panel window docs

* docs: remove panel example

* docs: specify expected emphasis style

* docs: responding to feedback

* docs: fix section names in links

* docs: rework baseWindow note

* docs: making window customization its own section

* responding to feedback
This commit is contained in:
Anny Yang 2024-11-01 08:04:37 -07:00 committed by GitHub
parent 15151c6853
commit 2081f771e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 533 additions and 267 deletions

View file

@ -0,0 +1,16 @@
const { app, BrowserWindow } = require('electron')
function createWindow () {
const win = new BrowserWindow({
width: 100,
height: 100,
resizable: false,
frame: false,
transparent: true
})
win.loadFile('index.html')
}
app.whenReady().then(() => {
createWindow()
})