MCPcopy Create free account
hub / github.com/hokein/electron-sample-apps / handleOpenButton

Function handleOpenButton

mini-code-editor/editor.js:90–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90function handleOpenButton() {
91 dialog.showOpenDialog({properties: ['openFile']}, function(filename) {
92 onChosenFileToOpen(filename.toString()); });
93}
94
95function handleSaveButton() {
96 if (fileEntry && hasWriteAccess) {

Callers

nothing calls this directly

Calls 1

onChosenFileToOpenFunction · 0.85

Tested by

no test coverage detected