UNPKG

@rero/ng-core

Version:

RERO angular core library.

21 lines (20 loc) 688 B
import { OnInit } from '@angular/core'; import { Observable } from 'rxjs'; import { DetailRecord } from './detail-record'; import * as i0 from "@angular/core"; /** * Component to display a record by dumping its data to JSON. */ export declare class JsonComponent implements DetailRecord, OnInit { record$: Observable<any>; type: string; record: any; /** * Component initialization. * * Subscribes to observable for getting the record. */ ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<JsonComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<JsonComponent, "ng-component", never, {}, {}, never, never, false, never>; }