Skip to content

Instantly share code, notes, and snippets.

Embed
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
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.