We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
tree.display is not available before tree.render has been called. In order to use own css_classes you would need to call tree.render twice:
tree.display
tree.render
css_classes
tree.render(options); tree.display.css(css_classes).update(); tree.render(options);
Better:
tree.render({ 'container': '#phylotreeContainer', 'max-radius': 468, 'width': 500, 'css_classes': { 'tree-container': 'phylotree-container', 'tree-scale-bar': 'phylotree-tree-scale-bar', 'node': 'phylotree-node' } });
The text was updated successfully, but these errors were encountered:
solves veg#471
165004c
No branches or pull requests
tree.display
is not available beforetree.render
has been called.In order to use own
css_classes
you would need to calltree.render
twice:Better:
The text was updated successfully, but these errors were encountered: