Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

match information within tennis-version of tournament-brackets #177

Open
Sakerfalke opened this issue Aug 19, 2020 · 1 comment
Open

match information within tennis-version of tournament-brackets #177

Sakerfalke opened this issue Aug 19, 2020 · 1 comment

Comments

@Sakerfalke
Copy link

Sakerfalke commented Aug 19, 2020

Is it possible to show the match information within this tennis-version of the tournament-brackets?
in the html:
<div><span id="#matchCallback">Show the matchinformation here.</span></div>

using:
function onclick(data) { $('#matchCallback').text("onclick(data: '" + data + "')") } function onhover(data, hover) { $('#matchCallback').text("onhover(data: '" + data + "', hover: " + hover + ")") }
in the script.

And for the results on this position for instance:
var finalBracket = { teams: [ ["player 1", "player 2"], ["player 3", "player 4"] ], results: [ [ [[,,], [,,],'match info 1'], [[,,], [,,],'match info 2'] ] [ [[,,], [,,], 'match info 3'] ] ] }

@RenautMestdagh
Copy link

RenautMestdagh commented May 21, 2022

I dont know if i understand you question correctly but maybe this is something usefull in combination with this for the visibility property

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants