TemplateLoader class
TemplateLoader is an asynchronous access to ShadowRoot which is loaded asynchronously. It allows a Component to be notified when its ShadowRoot is ready.
class TemplateLoader { final async.Future<dom.ShadowRoot> _template; async.Future<dom.ShadowRoot> get template => _template; TemplateLoader(this._template); }
Constructors
Properties
final Future<ShadowRoot> template #
async.Future<dom.ShadowRoot> get template => _template;