Skip to content

Question regarding add seed to bracket #120

Answered by Drarig29
yongshun950824 asked this question in Q&A
Discussion options

You must be logged in to vote
  1. No, it's not possible to add a single seed at a time.

But you can update the seeding a better way: see docs.

You can use this method it with: window.bracketsManager.update.seeding()

And actually, I think you found a bug! 🎉

You can see the logic at creation time here:

/**
* Returns a list of slots.
* - If `seeding` was given, inserts them in the storage.
* - If `size` was given, only returns a list of empty slots.
*
* @param positions An optional list of positions (seeds) for a manual ordering.
*/
public async getSlots(positions?: number[]): Promise<ParticipantSlot[]> {
c…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yongshun950824
Comment options

Answer selected by yongshun950824
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants