attach method

  1. @override
void attach(
  1. ComponentRuntime runtime
)
override

Implementation

@override
void attach(ComponentRuntime runtime) {
  final isFirstAttach = !attached;
  super.attach(runtime);
  if (isFirstAttach) {
    _onMount();
  }
}