root property

  1. @override
HtmlPageLoaderElement get root
override

Gets the body for the current page.

Caches the HtmlPageLoaderElement used between calls to allow listeners to persist.

Implementation

@override
HtmlPageLoaderElement get root =>
    _cachedRoot ??= HtmlPageLoaderElement.createFromElement(document.body,
        externalSyncFn: syncFn);