Open rgov opened 6 days ago
The above comment by @SagarChandra07 is likely malware, do not download it.
The above comment by @SagarChandra07 is likely malware, do not download it.
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).
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.