jquery-bracket icon indicating copy to clipboard operation
jquery-bracket copied to clipboard

onClick Match data defintion

Open humbao opened this issue 8 years ago • 1 comments

Hi,

I found the onClick/onHover feature to be what I need however I initialize my results array as a default empty definition.

How would I go about using the onClick Match event with:

  1. getting both of the Team names of that particular match( as orginially defined in teams array)
  2. or possibly with the data as the third variable in a team array definition instead of the result array for that particular set of teams on that particular match

Thanks for this awesome library as it has been great!

humbao

humbao avatar Nov 19 '16 19:11 humbao

Hi,

Unfortunately it's not really supported at the moment. It would definitely make sense to have the callback API to be extended to something resembling the data customization demo's render callback where you get all the details directly as arguments: http://www.aropupu.fi/bracket/#customHandlers

teijo avatar Nov 20 '16 17:11 teijo