bookclub-advr

DSLC Advanced R Book Club
git clone https://git.eamoncaddigan.net/bookclub-advr.git
Log | Files | Refs | README | LICENSE

profvis.js (324B)


      1 HTMLWidgets.widget({
      2 
      3   name: 'profvis',
      4 
      5   type: 'output',
      6 
      7   initialize: function(el, width, height) {
      8 
      9     return {
     10       // TODO: add instance fields as required
     11     };
     12 
     13   },
     14 
     15   renderValue: function(el, x, instance) {
     16     profvis.render(el, x.message);
     17   },
     18 
     19   resize: function(el, width, height, instance) {
     20 
     21   }
     22 
     23 });