lit-ui-router-effect / RefSource
Type Alias: RefSource<Refs>
ts
type RefSource<Refs> = Refs | (() => Refs | undefined);Defined in: ref-controller.ts:77
Where a RefController finds its refs: the tuple itself, or a thunk resolved on every hostConnected for refs that depend on the host's place in the DOM (the router's, discovered from the enclosing <ui-router>). A thunk returning undefined leaves the controller idle until the host reconnects.
Type Parameters
| Type Parameter |
|---|
Refs extends SubscriptionRefs |