- Building Impressive Presentations with Impress.js
- Rakhitha Nimesh Ratnayake
- 214字
- 2021-07-27 18:13:14
Conventions
In this book, you will find a number of styles of text 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 use the data-rotate-x
attribute to rotate elements around the x axis."
A block of code is set as follows:
$(document).ready(function(){ document.addEventListener ("impress:stepenter", function (event) { // Code for step enter }, false); document.addEventListener ("impress:stepleave", function (event) { // Code for step leave }, 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:
$(document).ready(function(){ document.addEventListener ("impress:stepenter", function (event) { // Code for step enter }, false); document.addEventListener ("impress:stepleave", function (event) { // Code for step leave }, false); });
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "We can go to the overview of the presentation using the Overview button".