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

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "For example, background-color will throw an error, so you should write 'background-color'."

A block of code is set as follows:

var cart = ko.observableArray([]);
var showCartDetails = function () {
  if (cart().length > 0) {
    $("#cartContainer").removeClass("hidden");
  }
};
[default]
exten => s,1,Dial(Zap/1|30)
exten => s,2,Voicemail(u100)
exten => s,102,Voicemail(b100)
exten => i,1,Voicemail(s0)

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

[default]
exten => s,1,Dial(Zap/1|30)
exten => s,2,Voicemail(u100)
exten => s,102,Voicemail(b100)
exten => i,1,Voicemail(s0)
<button class="btn btn-primary btn-sm" data-bind="click: showCartDetails, enable: cart().length > 0">
  Show Cart Details
</button>

<button class="btn btn-primary btn-sm" data-bind="click: showCartDetails, disable: cart().length < 1">
  Show Cart Details
</button>

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

# cp /usr/src/asterisk-addons/configs/cdr_mysql.conf.sample
 /etc/asterisk/cdr_mysql.conf

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Once we have clicked on the Confirm Order button, the order should be shown to us to review and confirm if we agree."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 阿尔山市| 连山| 中西区| 丹凤县| 沙田区| 凌云县| 荔波县| 绍兴市| 闻喜县| 新龙县| 沙洋县| 裕民县| 荥经县| 固始县| 扎囊县| 保亭| 梧州市| 岚皋县| 阿巴嘎旗| 阳谷县| 太白县| 阿尔山市| 湄潭县| 湖北省| 弥渡县| 襄汾县| 射阳县| 莱芜市| 蕲春县| 梓潼县| 鸡泽县| 扬州市| 望江县| 阳信县| 哈尔滨市| 弋阳县| 沙洋县| 星子县| 金寨县| 名山县| 寻乌县|