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

data-wgo-diagram not working #86

Open
climu opened this issue Aug 11, 2017 · 0 comments
Open

data-wgo-diagram not working #86

climu opened this issue Aug 11, 2017 · 0 comments

Comments

@climu
Copy link

climu commented Aug 11, 2017

Hi there,

In the player documentation one can read:

data-wgo-diagram | Like data-wgo but disables all controls and renders a static diagram

and

To create a read-only diagram you can use the attribute data-wgo-diagram instead. This will disable all controls and renders only the board. This is a shortcut for specifying an empty layout and disable the wheel and key input and does not mark the last move made with a circle.

I tried it and the wgo player is not showing at all when using <div data-wgo-diagram="test.sgf"></div>.

I couldn't find an exemple of this diagram use so I was wondering if I was doing something wrong or If it was a bug in wgo.

If you get curious, this is what we are working on.

Thanks for this great sgf viewer !

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

1 participant