1. Electronで遊んだ。学習に少し時間がかかりそう
<html> <head> <meta charset="UTF-8"> <title>えれくとろん</title> <script> const {ipcRenderer} = require('electron'); window.addEventListener('load', () => { document.getElementById('open').addEventListener('click', () => { ipcRenderer.send('async', 'openImageFile'); }, false); }, false); </script> </head> <body> <button id="open">開く</script> </body> </html> </html>
const { app, BrowserWindow, dialog } = require('electron'); const { globalShortcut, ipcMain } = require('electron'); const start = () => { const browser = new BrowserWindow({width: 800, height: 600}); browser.loadFile('index.html'); ipcMain.on('async', (event, arg) => { dialog.showOpenDialog({ properties: ['openFile', 'openDirectory', 'multiSelections'] }) }); globalShortcut.register('CommandOrControl+X', () => { app.quit(); }); }; const openImageFile = () => { }; app.on('ready', start); app.on('window-all-closed', app.quit);
2. 塗り絵
3. 作曲
マジカルミライ2019の応募用楽曲Bメロまで進んでいる
piapro.jp
4. エレキギター練習
自分で作った曲で練習
5. 仕事
それなりにプログラミングした
6. 洗濯料理など
それなりに頑張った