Use this bookmarklet to view your Knockout View Models with a toggle-able, minimally-intrusive display.
Copy the code from
build/ko-view.min.js into a new Bookmark in the browser of your choice.
Click the bookmarklet on any page with a Knockout model.
Need a page to test it on? Try this Knockout Example page.
You can toggle the visibility of the view model display panel with the main button. The
x will remove the debugger from the DOM.
The display panel can be resized by dragging the lower right corner. It can also be moved about with the burger menu.
Want to make some changes? It's easy to do with grunt.
- Clone this repository
npm installin the directory of installation
SASS, if you don't already have them
- Make your changes to the files in the
gruntfrom the command line to build the bookmarklet
Don't fret about legal stuff. Do whatever you want with it.