- KnockoutJS Essentials
- Jorge Ferrando
- 234字
- 2021-07-23 20:16:14
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."
- Spring Boot 2實(shí)戰(zhàn)之旅
- Visual C++串口通信開發(fā)入門與編程實(shí)踐
- Visual FoxPro程序設(shè)計(jì)教程(第3版)
- Instant Apache Stanbol
- Dynamics 365 Application Development
- Three.js開發(fā)指南:基于WebGL和HTML5在網(wǎng)頁上渲染3D圖形和動(dòng)畫(原書第3版)
- Mastering Concurrency in Go
- Visual Basic程序設(shè)計(jì)教程
- Cybersecurity Attacks:Red Team Strategies
- RealSenseTM互動(dòng)開發(fā)實(shí)戰(zhàn)
- 小程序,巧應(yīng)用:微信小程序開發(fā)實(shí)戰(zhàn)(第2版)
- Java Fundamentals
- Java Web從入門到精通(第3版)
- Kotlin Programming By Example
- 大學(xué)計(jì)算機(jī)基礎(chǔ)實(shí)驗(yàn)指導(dǎo)