Representing Files in a BrowserWindow
You can also set the edited state for a window so that the file icon can indicate whether the document in this window has been modified.
Example
docs/fiddles/features/represented-file (23.0.0)
- main.js
- index.html
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<title>Hello World!</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
<p>
Click on the title with the <pre>Command</pre> or <pre>Control</pre> key pressed.
</p>
</body>
</body>