fires after a shape has been expanded

void AfterExpand(string|number id,string dir){ ... };


idstring|numberthe id of a shape which has been expanded
dirstringthe side the children were shown in relation to the parent shape ("left", "right")

Example"afterExpand", function(id) {
    console.log( + " was expanded", dir);

Related samples

See also
Change log

The dir parameter was added in v3.1.

Back to top