Skip to content

karkkant/ngBracket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Install Node
  • Install Ruby
  • Run gem install sass to install SASS
  • Run npm install to get dependencies
  • Run grunt to compile

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) {...}
}

About

Bracket tournament builder, built with AngularJS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published