onAttach method

void onAttach()

Called when this component is added to a node.

Implementation

void onAttach() {}