mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-28 19:55:36 +08:00
mac: Add BrowserWindow.isDoucumentEdited API, fixes #459.
This commit is contained in:
@@ -394,6 +394,10 @@ __OS X Only:__ Returns the pathname of the file the window represents.
|
||||
__OS X Only:__ Specifies whether the window’s document has been edited, and the
|
||||
icon in titlebar will become grey when set to `true`.
|
||||
|
||||
### BrowserWindow.IsDocumentEdited()
|
||||
|
||||
__OS X Only:__ Whether the window's document has been edited.
|
||||
|
||||
### BrowserWindow.openDevTools()
|
||||
|
||||
Opens the developer tools.
|
||||
|
||||
Reference in New Issue
Block a user