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

  • 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.
主站蜘蛛池模板: 慈利县| 仁寿县| 彩票| 紫阳县| 汪清县| 山东省| 罗甸县| 手游| 遂川县| 新乡市| 茂名市| 惠来县| 绥德县| 岚皋县| 芦山县| 云安县| 德安县| 遂昌县| 和龙市| 南京市| 迭部县| 宜宾市| 博兴县| 河东区| 贵阳市| 合肥市| 苗栗县| 红河县| 镇坪县| 蒙城县| 色达县| 通化市| 綦江县| 永清县| 湖南省| 二连浩特市| 叶城县| 保康县| 武山县| 绥化市| 东乡县|