knockout.js - DukeScript: how to access the Java model from the JavaScript context? -
i've read excellent documentation "using knockout api". explains how context set of specific widget knockout bindings.
now i'd able access java models firebug command line, when access viewmodel in javascript using knockoutjs in browser. firebug doesn't know "$root", don't know how, , whether it'd possible @ all, access java model @ , call @function methods. make cool repl.
there ko.datafor , ko.contextfor , might easier use model = ko.datafor(document.body);
Comments
Post a Comment