-
Notifications
You must be signed in to change notification settings - Fork 242
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
Elaborate on style property documentation #290
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
Confirmed. 17 positives on VirusTotal. They are spamming it everywhere. Please report! |
That's correct, 'render' is replaced by 'style'. 'render' was experimental and was not documented, it should still work but it is not included in the typescript API. Please note that, as mentioned in the docs, style is for dev-tools and debugging purpose (render was also for debugging purpose). |
Apparently currently styling is broken in testbed, I will fix it in next testbed release. |
I fixed style for local testbed, and added them to docs. I will update live examples soon, and will change render to style. |
The
style
property, e.g.,Body.style
is documented as "Styling for dev-tools" without elaboration. It is used in the testbed examples like Soccer to change the stroke and fill colors of the bodies.I can't follow the repo history very well but there used to be a
render
property used similarly. The examples currently live show outdated examples that userender
and a deprecatedTestbed
constructor.The text was updated successfully, but these errors were encountered: