0.0.2 • Published 10 years ago

mocofoteamlist v0.0.2

Weekly downloads
5
License
MPL-2.0
Repository
github
Last release
10 years ago

mocofoteamlist

npm install mocofoteamlist

var mocofoteamlist = require('mocofoteamlist');

mocofoteamlist.getHTMLSelectOptionsForTeams(function gotHTML (err, list) {
  if (err) {
    console.log(err);
  }
  // console.log(list);

  // Do something, for example
  // res.render('home', {
  //  list: list
  // });
});

You should rended this list within a select tag

<select>
  <option value="default">--Select</option>
  {{{ RENDER THE RETURNED LIST HERE }}}
</select>