- KnockoutJS Blueprints
- Carlo Russo
- 212字
- 2021-07-23 20:27:34
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: "We can include other contexts through the use of the include
directive."
A block of code is set as follows:
myViewModel.categories = ko.computed(function() { var results = myViewModel.allCategories(), filterByCategory = myViewModel.selectedCategory(); if (filterByCategory) { results = ko.utils.arrayFilter(results, function(category) { return category.name === filterByCategory; }); } return results; });
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
var myViewModel = { allCategories: ko.observableArray([]), selectedCategory: ko.observable(), selectedName: ko.observable("") };
Any command-line input or output is written as follows:
# npm install –g http-server
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: "Here we get the starting page, with an Error loading page."
- 一步一步學(xué)Spring Boot 2:微服務(wù)項(xiàng)目實(shí)戰(zhàn)
- 無(wú)代碼編程:用云表搭建企業(yè)數(shù)字化管理平臺(tái)
- Three.js開(kāi)發(fā)指南:基于WebGL和HTML5在網(wǎng)頁(yè)上渲染3D圖形和動(dòng)畫(huà)(原書(shū)第3版)
- Vue.js快速入門(mén)與深入實(shí)戰(zhàn)
- 編程珠璣(續(xù))
- Web Development with Django Cookbook
- Hands-On GPU:Accelerated Computer Vision with OpenCV and CUDA
- Bootstrap 4:Responsive Web Design
- Python數(shù)據(jù)結(jié)構(gòu)與算法(視頻教學(xué)版)
- C++寶典
- Visual C#.NET Web應(yīng)用程序設(shè)計(jì)
- C++20高級(jí)編程
- Python預(yù)測(cè)分析實(shí)戰(zhàn)
- Kotlin進(jìn)階實(shí)戰(zhàn)
- Python Machine Learning Cookbook