Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Knockout.JS Essentials
  • Table Of Contents Toc
Knockout.JS Essentials

Knockout.JS Essentials

By : Ferrando
4 (2)
close
close
Knockout.JS Essentials

Knockout.JS Essentials

4 (2)
By: Ferrando

Overview of this book

If you are a JavaScript developer who has been using DOM manipulation libraries such as Mootools or Scriptaculous, and you want go further in modern JavaScript development with a simple and well-documented library, then this book is for you. Learning how to use Knockout will be perfect as your next step towards building JavaScript applications that respond to user interaction.
Table of Contents (10 chapters)
close
close
9
Index

The console


The console is one of the most important tools for developers. You can use it to check the state of our application while it is in use.

You can locate the JavaScript code and set breakpoints to check what is happening at a particular point. You can do this by locating the JavaScript file in the Sources tab. Just click the line you want to stop at. Then you can check the value of the variables and run the code step by step. Also, you can write the word debugger in the code to stop the program at this place.

You can set breakpoints in the code and check the values of variables

If you navigate to the Console tab you will see the console itself. There, you can show information using the console.log function or check the console object documentation to see the best method you can use at each moment (https://developer.mozilla.org/en-US/docs/Web/API/Console).

If you write the word window in the console, you will see all the objects that are in the global scope.

With the console, you can...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Knockout.JS Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon