官术网_书友最值得收藏!

  • Electron Projects
  • Denys Vuika
  • 202字
  • 2021-06-24 12:14:30

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in the text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Just type code or visual studio code into the search boxyou should get the link to the corresponding package."

A block of code is set as follows:

win = new BrowserWindow({ 
width: 800,
height: 600,
webPreferences: {
nodeIntegration: true
}
frame: false
});

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

function createWindow() {
win = new BrowserWindow({ titleBarStyle: 'hidden' });

win.loadURL(`http://localhost:3000`);

win.on('closed', () => {
win = null;
});
}

Any command-line input or output is written as follows:

git --version

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "If you click on the icon, you should get the Quit menu entry."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 家居| 扶余县| 钟祥市| 明光市| 贵南县| 延川县| 安宁市| 沙湾县| 恭城| 沙田区| 哈巴河县| 蓬安县| 临颍县| 炎陵县| 宜春市| 晋中市| 交口县| 贵阳市| 宝应县| 吴堡县| 农安县| 巴南区| 塔城市| 沿河| 固阳县| 新疆| 且末县| 霍邱县| 韶山市| 连州市| 六盘水市| 自贡市| 海盐县| 金坛市| 赣榆县| 玛曲县| 十堰市| 友谊县| 伊吾县| 荣成市| 白城市|