module salix::jsplumb::Demo
rascal-0.40.17
salix-contrib-0.2.7
Usage
import salix::jsplumb::Demo;
Source code
http://github.com/usethesource/salix-contrib/src/main/rascal/salix/jsplumb/Demo.rsc
Dependencies
import salix::App;
import salix::Core;
import salix::HTML;
import salix::Index;
import salix::jsplumb::JSPlumb;
import util::Math;
import IO;
function jsplumbApp
SalixApp[Model] jsplumbApp(str id = "jsplumb")
function jsplumbWebApp
App[Model] jsplumbWebApp()
alias Model
tuple[bool toggle]
function init
Model init()
data Msg
data Msg
= doIt()
;
function update
Model update(Msg msg, Model m)
function view
void view(Model m)