Skip to content

Instantly share code, notes, and snippets.

Avatar

yonicd

View GitHub Profile
@yonicd
yonicd / .block
Last active Jan 6, 2018 — forked from timelyportfolio/.block
alternate version of market quilt
View .block
license: mit
height: 600
@yonicd
yonicd / mycode.js
Created Jul 22, 2016 — forked from markheckmann/mycode.js
client/server interaction with shiny - part 3 (separate JS file)
View mycode.js
// Execute function body when the HTML document is ready
$(document).ready(function() {
// javascript code to send data to shiny server
document.getElementById("mydiv").onclick = function() {
var number = Math.random();
Shiny.onInputChange("mydata", number);
};
You can’t perform that action at this time.