knockout.js - DukeScript: how to access the Java model from the JavaScript context? -


this related 1 , 2.

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

Popular posts from this blog

android - Sent Blob results empty -

javascript - Bootstrap Popover: iOS Safari strange behaviour -