karkkant / ngBracket

Bracket tournament builder, built with AngularJS.
MIT License
12 stars 8 forks source link

ngBracket

Bracket tournament generator, built with AngularJS.

This plugin allows you to generate and display single elimination and double elimination tournament brackets.

Download

Get latest version from /dist.

Building

Examples

Demo can be found in the repository. Just clone the latest version and run it with http-server.

Basicly the plugin takes in tournament data structure which can be generated using tournamentGenerator service.

You can also provide custom callbacks in options section:


options: {
  onTeamClick: function(event) {...},
  onTeamRightClick: function(event, team) {...},
  onMatchClick: function(event, match) {...},
  onMatchRightClick: function(event, match) {...}
  onScoreChanged: function(match) {...}
}