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 WEB APP TESTING USING KNOCKOUT.JS
  • Table Of Contents Toc
WEB APP TESTING USING KNOCKOUT.JS

WEB APP TESTING USING KNOCKOUT.JS

By : Roberto Messora
5 (3)
close
close
WEB APP TESTING USING KNOCKOUT.JS

WEB APP TESTING USING KNOCKOUT.JS

5 (3)
By: Roberto Messora

Overview of this book

If you are a JavaScript developer, beginner, or an expert who wants to improve quality standards in terms of solutions design and functional verification, this book is for you. Basic understanding of web development, HTML, and JavaScript is required.
Table of Contents (6 chapters)
close
close

Hello Knockout.JS

To start using Knockout.JS is very simple. It is nothing more than a couple of JavaScript lines of code and a special attribute added to the DOM tags.

An example of an HTML page can be as follows:

<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>Hello Knockout.JS</title>
</head>
<body>
    <span data-bind="text: message"></span>
    <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/knockout/3.1.0/knockout-min.js"></script>
    <script type="text/JavaScript">
        var viewModel = {
            message: "Hello Knockout.JS!"
        };
        ko.applyBindings(viewModel);
    </script>
</body>
</html>

Note

We put the script tags just before the closing body tag for performance reasons, as stated in the best practices document of the Yahoo Developer Network...

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.
WEB APP TESTING USING KNOCKOUT.JS
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