Skip to content

Instantly share code, notes, and snippets.

@rswilley
Forked from maxcnunes/Debug-Knockout-JS.html
Created September 29, 2017 13:43
Show Gist options
  • Save rswilley/9cb90c72d8115bb7f43a77b1a7de0aaf to your computer and use it in GitHub Desktop.
Save rswilley/9cb90c72d8115bb7f43a77b1a7de0aaf to your computer and use it in GitHub Desktop.
Simple way to debug viewmodel data bind with knockout
<pre data-bind="text: ko.toJSON($data, null, 2)"></pre>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment