Class DetailBaseService<T>Abstract

Used for storing an object PK and data to let child components to subscribe, use, and change them.

Main parent component must load the PK from query params and set the PK. Load the data and set the data.

Type Parameters

  • T extends {
        id: unknown;
    }

Constructors

Properties

Methods

Constructors

Properties

data: BehaviorSubject<null | T> = ...

Current object data subject.

pk: BehaviorSubject<null | T["id"]> = ...

Current object PK subject.

Methods