Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Tests
build
examples
README.md
build.js
ko-inspector.bindingHandler.js
ko-inspector.comparer.js
ko-inspector.css
ko-inspector.css.js
ko-inspector.dirtyFlag.js
ko-inspector.global.js
ko-inspector.guid.js
ko-inspector.renderer.js

README.md

jsonViewer

The intention is that this knockout binding will help you debug your knockout application when it all goes wrong.

usage

To use this just add these files to the head of your page

<link href="jsonViewer.css" rel="stylesheet" />
<script src="jsonViewer.js"></script>

And then you have access to the jsonViewer binding. You can apply it to any property on your view model, even the $root

<div data-bind="jsonViewer: $root"></div>

This will output the object to the page, simple. oh and here are some examples

examples

You can’t perform that action at this time.