add_state


Description:

public State add_state (TextTag? use_tag = null)

Creates a child state. If use_tag is non-null, the child reuses that tag for styling.

Parameters:

use_tag

Optional existing tag to apply (e.g. shared "link" tag)

Returns:

The new child state