Skip to content

Instantly share code, notes, and snippets.

@tawanorg
Forked from maxcnunes/Debug-Knockout-JS.html
Created October 26, 2016 01:24
Show Gist options
  • Save tawanorg/1cf358a429db43db82e7f5af1f00b4d8 to your computer and use it in GitHub Desktop.
Save tawanorg/1cf358a429db43db82e7f5af1f00b4d8 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