attach method

void attach()

Connects scroll and resize observers to scrollElementRef and performs the initial measurement pass.

Must be invoked from an onMount callback after scrollElementRef is attached to a real DOM element.

Implementation

void attach() {
  _unmount = _instance._didMount();
  _instance._willUpdate();
  _pull();
}