Flagrate API documentation

Home ▲
class

flagrate.Button

Example

var button = flagrate.createButton({
  label   : 'foo',
  icon    : 'icon.png',
  onSelect: function () {
    alert('hey');
  }
}).insertTo(x);

Structure

<button class="flagrate flagrate-button flagrate-icon" style="background-image: url(icon.png);">foo</button>

Event

Inheritances


Constructor