Dojo label fade out

dojo< /span>.fadeOut({ node:dojo.byId(“message”), duration:6000}).play();

The duration parameter is set to fade out The time used, in milliseconds (ms).

The fade-out effect is to hide the corresponding node instead of destroying it

Use dojo’s Tree

Dojo’s Tree is very flexible, but there are few examples on the official website, and they are scattered. We will continue to improve this example in the future.

In general, to use tree, you