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

Show Rounds Title

Open kerstenc opened this issue 7 years ago • 17 comments

Hi,

First of all well done on this library, it's great! I was wondering if it's possible to add titles for the brackets and rounds as seen here:

image

kerstenc avatar Jun 08 '18 09:06 kerstenc

Did you solve this? Im bit lost, i don't know how can i override custom styles

Juanancon avatar Aug 30 '18 11:08 Juanancon

Hi @Juanancon, sorry for the late reply.

Unfortunately what you're looking for is not currently available in the library.

The match info feature http://www.aropupu.fi/bracket/#matches is closest but the information is not currently available when rendering the matches.

A very hacky way to do what you're looking for without modifying the library would be to iterate through all the elements with class match within the wrapper that has jQBracket class. That way you could modify the DOM and inject custom HTML (i.e. add <span>{`C${index + 1}`}</span> where index comes from iterating the elements). The matches are wrapped with round class in case that affects how you iterate.

teijo avatar Aug 31 '18 17:08 teijo

I have extended the library to support this. @Juanancon, @kerstenc feel free to message me.

@teijo, Let me know if you want me to remove this comment.

lorenanderson-itrellis avatar Sep 06 '18 14:09 lorenanderson-itrellis

@lorenanderson-itrellis could you send me code you have added?

mail [email protected]

mranden avatar Sep 17 '19 14:09 mranden

I have extended the library to support this. @Juanancon, @kerstenc feel free to message me.

@teijo, Let me know if you want me to remove this comment.

I would also really like this functionlaity

ultrasibz avatar Dec 31 '19 10:12 ultrasibz

hello everyone, i wanna to ;) @smartified @Juanancon @kerstenc

xdendev avatar Jan 13 '20 05:01 xdendev

I have extended the library to support this. @Juanancon, @kerstenc feel free to message me.

@teijo, Let me know if you want me to remove this comment.

@lorenanderson-itrellis - would appreciate your help on this also. Thanks!

hynsey avatar Oct 25 '20 09:10 hynsey

Hello , I'd like to have this solution. thank you @lorenanderson-itrellis

Mrwire avatar Feb 10 '21 16:02 Mrwire

Hello! I'd like to have this solution too. Thank you very much @lorenanderson-itrellis

deusdevok avatar Jan 21 '22 17:01 deusdevok

It would be nice with this modification. Can someone share the code for library extension?

lingan-se avatar May 01 '22 17:05 lingan-se

Hello there! Does anyone have the ext code for this? Thanks in advance!

Shinowa86 avatar May 23 '22 08:05 Shinowa86

Hello, same for me ! Thanks

Raserber avatar Jun 18 '22 08:06 Raserber

I have extended the library to support this. @Juanancon, @kerstenc feel free to message me.

@teijo, Let me know if you want me to remove this comment.

@lorenanderson-itrellis Could you share it?

sunspinx avatar Dec 31 '22 00:12 sunspinx

Hi @lorenanderson-itrellis, I would really appreciate If you could share this solution with me. Thanks

riyazpt avatar Jan 13 '23 08:01 riyazpt

can someone please share this feature or post the code or PR?

chuckgmthompson avatar Apr 11 '24 04:04 chuckgmthompson