Skip to content

Instantly share code, notes, and snippets.

@AndreaRivadossi
Created May 2, 2018 11:01
Show Gist options
  • Save AndreaRivadossi/ff2410a74f55994647ceb858d9811f45 to your computer and use it in GitHub Desktop.
Save AndreaRivadossi/ff2410a74f55994647ceb858d9811f45 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