Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
The status of the website is: <span data-bind="text: status"></span>
<script type="text/javascript">
var viewModel = {
status: ko.observable() // Initially blank
viewModel.status("All green."); // Text appears
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment