Flagrate API documentation

Home ▲
class

flagrate.Buttons

Example

var button = flagrate.createButtons({
  items: [
    { label: 'Left' },
    { label: 'Middle' },
    { label: 'Right' }
  ]
}).insertTo(x);

Structure

<div class="flagrate flagrate-buttons">
  <button class="flagrate flagrate-button">Left</button>
  <button class="flagrate flagrate-button">Middle</button>
  <button class="flagrate flagrate-button">Right</button>
</div>

Inheritances


Constructor