Flagrate API documentation

Home ▲
constructor

flagrate.createTutorial

flagrate.createTutorial(option) → flagrate.Tutorial
new flagrate.Tutorial

Creates new tutorial.

option

step

onBeforeStep / onAfterStep
// async callback
function (done) {// if expects callback, will waits for it.
  setTimeout(done, 1000);
}

// sync
function () {
  // ...
}