getTopChildRows
Generic types: | P C |
This function returns the rows of the child that a top level createSmartSignal loads on your behalf.
Presentation
function getTopChildRows (
parentSignal: Signal<EntityState<P>>,
childFieldName: keyof P,
): Signal<C[]>;
Returns
Signal<C[]>
-A signal that emits the rows of the child.
Parameters
Name | Type | Description |
---|---|---|
parentSignal | Signal<EntityState<P>> | The signal that createSmartSignal loads on your behalf. |
childFieldName | keyof P | The field name of the child that you want to get the rows of. |